Searched defs:dfd (Results 1 - 12 of 12) sorted by relevance

/osnet-11/usr/src/lib/libc/port/sys/
H A Dopen.c50 __openat(int dfd, const char *path, int oflag, mode_t mode) argument
52 int fd = syscall(SYS_openat, dfd, path, oflag, mode);
65 __openat64(int dfd, const char *path, int oflag, mode_t mode) argument
67 int fd = syscall(SYS_openat64, dfd, path, oflag, mode);
/osnet-11/usr/src/cmd/sendmail/src/
H A Dcollect.c198 int dfd; local
221 dfd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL);
222 if (dfd < 0 || fstat(dfd, &stbuf) < 0)
750 int dfd; local
758 dfd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL);
759 if (dfd >= 0)
760 dumpfd(dfd, true, true);
H A Dsrvrsmtp.c3598 int dfd; local
3605 dfd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL);
3606 if (dfd >= 0)
3607 dumpfd(dfd, true, true);
H A Dmap.c1409 int dfd; local
1577 dfd = dbm_dirfno(dbm);
1579 if (dfd == pfd)
1593 if (filechanged(dirfile, dfd, &std) ||
1622 if (dfd >= 0)
1623 (void) lockfile(dfd, map->map_file, ".dir", LOCK_UN);
1637 if (fchown(dfd, TrustedUid, -1) < 0 ||
1673 int dfd, pfd; local
1693 dfd = dbm_dirfno((DBM *) map->map_db1);
1694 if (dfd >
[all...]
H A Dqueue.c545 int dfd; local
556 dfd = open(df, O_WRONLY|O_CREAT|O_TRUNC|QF_O_EXTRA,
560 if (dfd < 0 || (dfp = sm_io_open(SmFtStdiofd, SM_TIME_DEFAULT,
561 (void *) &dfd, SM_IO_WRONLY_B,
565 if (fstat(dfd, &stbuf) < 0)
/osnet-11/usr/src/lib/libc/i386/sys/
H A Dptrace.c438 Dupfd(int fd, int dfd) argument
442 * Also, if dfd is greater than 2, dup fd to be exactly dfd.
444 if (dfd > 2 || (0 <= fd && fd <= 2)) {
445 if (dfd > 2 && fd != dfd)
446 (void) close(dfd);
448 dfd = 3;
449 if (fd != dfd) {
450 dfd
[all...]
/osnet-11/usr/src/lib/libc/sparc/sys/
H A Dptrace.c446 Dupfd(int fd, int dfd) argument
450 * Also, if dfd is greater than 2, dup fd to be exactly dfd.
452 if (dfd > 2 || (0 <= fd && fd <= 2)) {
453 if (dfd > 2 && fd != dfd)
454 (void) close(dfd);
456 dfd = 3;
457 if (fd != dfd) {
458 dfd
[all...]
/osnet-11/usr/src/lib/libntsvcs/common/
H A Ddfs.c1406 int dfd; local
1410 if ((dfd = open(rootdir, O_RDONLY)) > 0) {
1411 xfd = openat(dfd, DFS_ROOT_XATTR, oflag | O_XATTR, 0600);
1414 (void) close(dfd);
/osnet-11/usr/src/lib/libproc/common/
H A DPcontrol.c144 dupfd(int fd, int dfd) argument
152 * Also, if dfd is non-zero, dup the fd to be dfd.
156 if (dfd > 0 || (0 <= fd && fd < mfd)) {
157 if (dfd <= 0)
158 dfd = mfd;
159 dfd = fcntl(fd, F_DUPFD, dfd);
161 fd = dfd;
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c1313 int dfd; local
1341 if ((dfd = open64(rawpath, O_RDONLY)) < 0) {
1342 if ((dfd = open64(path, O_RDONLY)) < 0) {
1357 (void) close(dfd);
1376 if ((dirp = fdopendir(dfd)) == NULL) {
1381 (void) close(dfd);
1413 (void) close(dfd);
/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdlstat.c2859 int dfd; local
2900 dfd = open(VDP_DOOR, O_RDONLY | O_NOFOLLOW | O_NONBLOCK);
2901 if (dfd == -1) {
2904 if (door_call(dfd, &door_arg) == -1) {
2905 (void) close(dfd);
2908 (void) close(dfd);
2969 int dfd; local
2996 dfd = open(VDP_DOOR, O_RDONLY | O_NOFOLLOW | O_NONBLOCK);
2997 if (dfd == -1) {
3000 if (door_call(dfd,
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dperlio.c2802 int dfd = PerlLIO_dup(fileno(stdio)); local
2803 if (dfd >= 0) {
2804 stdio = PerlSIO_fdopen(dfd, PerlIO_modestr(o,mode));

Completed in 75 milliseconds