/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | truncate.c | 64 if (fcntl(fildes, F_FREESP, &lck) == -1) { in ftruncate()
|
H A D | getut.c | 328 if ((fc = fcntl(fd, F_GETFL, NULL)) == -1 || (fc & O_RDWR) != O_RDWR) in _compat_pututline() 351 (void) fcntl(fd, F_SETFL, fc | O_APPEND); in _compat_pututline() 383 (void) fcntl(fd, F_SETFL, fc); in _compat_pututline()
|
H A D | fdopendir.c | 62 if (fcntl(fd, F_SETFD, FD_CLOEXEC) < 0) in fdopendir()
|
H A D | closefrom.c | 95 if (fcntl(i, F_GETFD) < 0) in fdwalk()
|
H A D | lfmt_log.c | 93 fcntl(fd, F_SETFD, 1) == -1)) in __lfmt_log()
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | fdopen.c | 62 if (fcntl(fd, F_GETFD) == -1) in fdopen()
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | putdgrp.c | 321 while ((fcntl(fileno(oam_dgroup), F_SETLK, &lockinfo) == -1) && in lkdgrptab() 333 if (fcntl(fileno(oam_dgroup), F_SETLKW, in lkdgrptab() 384 noerr = (fcntl(fileno(oam_dgroup), F_SETLK, &lockinfo) != -1); in unlkdgrptab()
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | dstream.c | 723 oflag = fcntl(ds_fd, F_GETFL, 0); in ds_ginit() 730 fd2 = fcntl(fd, F_DUPFD, fd); in ds_ginit() 732 (void) fcntl(ds_fd, F_DUPFD, fd); in ds_ginit() 745 (void) fcntl(fd2, F_DUPFD, fd); in ds_ginit()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | fds.c | 231 if ((flags = fcntl(i, F_GETFL, (char*)0)) == -1) in b_fds() 249 x = (fcntl(i, F_GETFD, (char*)0) > 0) ? "x" : "-"; in b_fds()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/dir/ |
H A D | opendir.c | 59 fcntl(fd, F_SETFD, FD_CLOEXEC) ||
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_main.c | 194 if (fcntl(s, F_SETFD, FD_CLOEXEC) == -1) { in ilbd_create_client_socket() 608 if ((sflags = fcntl(new_sd, F_GETFL, 0)) == -1) { in new_req() 612 if (fcntl(new_sd, F_SETFL, sflags | O_NONBLOCK) == -1) { in new_req() 616 if (fcntl(new_sd, F_SETFD, FD_CLOEXEC) == -1) { in new_req()
|
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_main.c | 423 (void) fcntl(fd, F_DUP2FD, STDIN_FILENO); in vscand_daemonize_fini() 424 (void) fcntl(fd, F_DUP2FD, STDOUT_FILENO); in vscand_daemonize_fini() 425 (void) fcntl(fd, F_DUP2FD, STDERR_FILENO); in vscand_daemonize_fini()
|
/illumos-gate/usr/src/test/zfs-tests/cmd/randfree_file/ |
H A D | randfree_file.c | 102 if (fcntl(fd, F_FREESP, &fl) != 0) { in main()
|
/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/ |
H A D | read_requeue.c | 85 if (fcntl(pipefds[0], F_SETFL, O_NONBLOCK) != 0) { in main()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | lock_file.c | 111 if (fcntl(fd, lock_cmd, &lock_arg) == -1) { in krb5_lock_file()
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/ |
H A D | ifdef.c | 107 if ( fcntl(ttyi, F_SETFL, O_NDELAY) == -1 ) { in setupline() 175 if ( (flags = fcntl(ttyi, F_GETFL, 0)) == -1 ) in resetline() 180 if ( fcntl(ttyi, F_SETFL, flags) == -1 ) in resetline()
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | main.c | 472 fcntl(fa, 0, fb); /* normal dup */ in Ldup() 475 fcntl(fb, 2, 1); /* autoclose for fb */ in Ldup()
|
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_ndpd.c | 271 flags = fcntl(fd, F_GETFL, 0); in i_ipadm_send_ndpd_cmd() 273 (void) fcntl(fd, F_SETFL, flags | O_NONBLOCK); in i_ipadm_send_ndpd_cmd()
|
/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | _utility.c | 367 cntlflag = fcntl(fd, F_GETFL, 0); in _t_is_ok() 369 (void) fcntl(fd, F_SETFL, cntlflag & ~(O_NDELAY | O_NONBLOCK)); in _t_is_ok() 377 (void) fcntl(fd, F_SETFL, cntlflag); in _t_is_ok() 385 (void) fcntl(fd, F_SETFL, cntlflag); in _t_is_ok() 396 (void) fcntl(fd, F_SETFL, cntlflag); in _t_is_ok() 403 (void) fcntl(fd, F_SETFL, cntlflag); in _t_is_ok()
|
/illumos-gate/usr/src/lib/libmail/common/ |
H A D | popenvp.c | 83 (void) fcntl(yourside, F_DUPFD, stdio); in popenvp()
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | mypopen.c | 73 (void) fcntl(yourside, F_DUPFD, stdio); in mypopen()
|
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | getzoneent.c | 222 if (fcntl(lock_fd, F_SETLKW, &lock) == -1) { in lock_index_file() 240 if (fcntl(lock_fd, F_SETLK, &lock) == -1) in unlock_index_file()
|
/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_open.c | 112 if (fcntl(*fdp, F_SETFD, 1) == -1) {
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_fcntl.c | 46 return (fcntl(fd, cmd, argp)); in pr_fcntl()
|
/illumos-gate/usr/src/head/ |
H A D | fcntl.h | 131 extern int fcntl(int, int, ...);
|