Searched refs:fcntl (Results 1 - 25 of 31) sorted by relevance

12

/sendmail/libsm/
H A Dt-fopen.c13 #include <fcntl.h>
H A Dlocal.h168 ret = fcntl((fd), F_GETFL, 0); \
169 if (ret == -1 || fcntl((fd), F_SETFL, \
184 ret = fcntl((fd), F_GETFL, 0); \
185 if (ret == -1 || fcntl((fd), F_SETFL, \
H A Dsyslogio.c14 #include <fcntl.h>
H A Dfflush.c21 #include <fcntl.h>
H A Dmpeix.c21 # include <fcntl.h>
186 ** SENDMAIL_MPE_FCNTL -- shadow function for fcntl()
188 ** MPE requires sfcntl() for sockets, and fcntl() for everything
193 ** same as fcntl().
196 ** same as fcntl().
199 #undef fcntl macro
224 return fcntl(fildes, cmd, arg);
H A Dsetvbuf.c19 #include <fcntl.h>
H A Dstdio.c19 #include <fcntl.h>
439 if ((fdflags = fcntl(fd, F_GETFL, 0)) < 0)
H A Drefill.c23 #include <fcntl.h>
H A Dsmstdio.c14 #include <fcntl.h>
H A Dfseek.c19 #include <fcntl.h>
H A Dfvwrite.c22 #include <fcntl.h>
H A Dstrio.c19 #include <fcntl.h>
/sendmail/libsmutil/
H A Dlockfile.c20 ** LOCKFILE -- lock a file using flock or (shudder) fcntl locking
59 if (fcntl(fd, action, &lfd) >= 0)
66 ** previous fcntl will fail with "Invalid argument" errors.
/sendmail/libsmdb/
H A Dsmdb.c13 #include <fcntl.h>
66 ** SMDB_LOCKFILE -- lock a file using flock or (shudder) fcntl locking
103 while ((i = fcntl(fd, action, &lfd)) < 0 && errno == EINTR)
113 ** previous fcntl will fail with "Invalid argument" errors.
125 int omode = fcntl(fd, F_GETFL, NULL);
145 int omode = fcntl(fd, F_GETFL, NULL);
H A Dsmdb1.c15 #include <fcntl.h>
H A Dsmndbm.c13 #include <fcntl.h>
/sendmail/test/
H A Dt_exclopen.c44 #include <fcntl.h>
H A Dt_pathconf.c20 #include <fcntl.h>
/sendmail/sendmail/
H A Dconf.h39 # include <fcntl.h>
H A Dconf.c1517 if ((j = fcntl(kmem, F_GETFD, 0)) < 0 ||
1518 fcntl(kmem, F_SETFD, j | FD_CLOEXEC) < 0)
1521 sm_dprintf("getla: fcntl(/dev/kmem, FD_CLOEXEC): %s\n",
1602 if ((j = fcntl(kmem, F_GETFD, 0)) < 0 ||
1603 fcntl(kmem, F_SETFD, j | FD_CLOEXEC) < 0)
1606 sm_dprintf("getla: fcntl(/dev/kmem, FD_CLOEXEC): %s\n",
1840 if ((j = fcntl(kmem, F_GETFD, 0)) < 0 ||
1841 fcntl(kmem, F_SETFD, j | FD_CLOEXEC) < 0)
1844 sm_dprintf("getla: fcntl(/dev/kmem, FD_CLOEXEC): %s\n",
2560 if ((j = fcntl(kme
[all...]
H A Dbf.c26 #include <fcntl.h>
/sendmail/libmilter/
H A Dmain.c16 #include <fcntl.h>
H A Dlistener.c455 if ((fdflags = fcntl(sock, F_GETFD, 0)) == -1 ||
456 fcntl(sock, F_SETFD, fdflags | FD_CLOEXEC) == -1)
879 dupfd = fcntl(connfd, F_DUPFD, 256);
H A Dworker.c238 r = fcntl(fd, F_GETFL, 0);
241 smi_log(SMI_LOG_ERR, "fcntl(%s, F_GETFL)=%s",
246 r = fcntl(fd, F_SETFL, r | O_NONBLOCK);
249 smi_log(SMI_LOG_ERR, "fcntl(%s, F_SETFL, O_NONBLOCK)=%s",
/sendmail/rmail/
H A Drmail.c54 #include <fcntl.h>

Completed in 3002 milliseconds

12