Home
last modified time | relevance | path

Searched refs:uniq_fd (Results 1 – 4 of 4) sorted by relevance

/dports/news/fidogate4/fidogate-4.4.10/src/common/
H A Dlock.c122 int uniq_fd; in lock_lockfile_nfs() local
135 uniq_fd = open(uniq_name, O_RDWR | O_CREAT | O_EXCL, BSY_MODE); in lock_lockfile_nfs()
136 if(uniq_fd == ERROR) in lock_lockfile_nfs()
151 if((fp = fdopen(uniq_fd, "w"))) in lock_lockfile_nfs()
159 close(uniq_fd); in lock_lockfile_nfs()
/dports/news/fidogate/fidogate-5.10-3-g1c1fd41/src/common/
H A Dlock.c155 int uniq_fd; in lock_lockfile_nfs() local
167 uniq_fd = open(uniq_name, O_RDWR | O_CREAT | O_EXCL, BSY_MODE); in lock_lockfile_nfs()
168 if (uniq_fd == ERROR) { in lock_lockfile_nfs()
179 if ((fp = fdopen(uniq_fd, "w"))) { in lock_lockfile_nfs()
186 close(uniq_fd); in lock_lockfile_nfs()
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/plugins/select/cray_aries/
H A Dccm.c235 static char * _ccm_create_unique_file(char *uniqnm, int *uniq_fd, in _ccm_create_unique_file() argument
245 *uniq_fd = -1; in _ccm_create_unique_file()
260 *uniq_fd = fd; in _ccm_create_unique_file()
/dports/editors/nano/nano-5.9/src/
H A Dtext.c2301 int spell_fd[2], sort_fd[2], uniq_fd[2], tempfile_fd = -1; in do_int_speller() local
2306 if (pipe(spell_fd) == -1 || pipe(sort_fd) == -1 || pipe(uniq_fd) == -1) { in do_int_speller()
2370 if (dup2(uniq_fd[1], STDOUT_FILENO) < 0) in do_int_speller()
2374 close(uniq_fd[0]); in do_int_speller()
2375 close(uniq_fd[1]); in do_int_speller()
2383 close(uniq_fd[1]); in do_int_speller()
2388 close(uniq_fd[0]); in do_int_speller()
2393 pipesize = fpathconf(uniq_fd[0], _PC_PIPE_BUF); in do_int_speller()
2397 close(uniq_fd[0]); in do_int_speller()
2412 while ((bytesread = read(uniq_fd[0], pointer, pipesize)) > 0) { in do_int_speller()
[all …]