Home
last modified time | relevance | path

Searched refs:fcntl_flags (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/truss/
H A Dprint.c2454 static struct fcntl_flags { struct
2457 } fcntl_flags[] = { variable
2497 for (size_t i = 0; i < ARRAY_SIZE(fcntl_flags); i++) { in prt_ffg()
2498 struct fcntl_flags *fp = &fcntl_flags[i]; in prt_ffg()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A Ddnssd_clientstub.c612 int fcntl_flags = fcntl(sdr->sockfd, F_GETFD); in ConnectToServer() local
613 if (fcntl_flags != -1) in ConnectToServer()
615 fcntl_flags |= FD_CLOEXEC; in ConnectToServer()
616 int ret = fcntl(sdr->sockfd, F_SETFD, fcntl_flags); in ConnectToServer()
/illumos-gate/usr/src/lib/libtecla/common/
H A Dgetline.c2702 int fcntl_flags; /* The new file-descriptor control flags */ in gl_nonblocking_io() local
2717 fcntl_flags = fcntl(fd, F_GETFL) | NON_BLOCKING_FLAG; in gl_nonblocking_io()
2721 if(fcntl(fd, F_SETFL, fcntl_flags) == -1) { in gl_nonblocking_io()
2738 int fcntl_flags; /* The new file-descriptor control flags */ in gl_blocking_io() local
2747 fcntl_flags = fcntl(fd, F_GETFL) & ~NON_BLOCKING_FLAG; in gl_blocking_io()
2751 if(fcntl(fd, F_SETFL, fcntl_flags) == -1) { in gl_blocking_io()