Searched refs:dirfd (Results 1 - 14 of 14) sorted by relevance
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | cloexec.c | 66 rk_cloexec(dirfd(d));
|
H A D | roken.h.in | 725 #define dirfd(x) ((x)->dd_fd) 727 #ifndef _WIN32 /* Windows code never calls dirfd */ 728 #error Missing dirfd() and ->dd_fd
|
/netbsd-6-1-5-RELEASE/tests/fs/hfs/ |
H A D | t_pathconvert.c | 36 int dirfd, fd; local 58 RL(dirfd = rump_sys_open("/mp", O_RDONLY)); 60 RL(nbytes = rump_sys_getdents(dirfd, buf, sizeof buf)); 73 RL(rump_sys_close(dirfd));
|
/netbsd-6-1-5-RELEASE/bin/pax/ |
H A D | tables.c | 86 static int dirfd = -1; /* storage for setting created dir time/mode */ variable 1110 if (dirfd != -1) 1117 if ((dirfd = mkstemp(tempfile)) >= 0) { 1162 if (dirfd < 0) 1169 if ((dblk.npos = lseek(dirfd, 0L, SEEK_CUR)) < 0) { 1188 if ((xwrite(dirfd, name, dblk.nlen) == dblk.nlen) && 1189 (xwrite(dirfd, (char *)&dblk, sizeof(dblk)) == sizeof(dblk))) { 1238 if (dirfd < 0) 1248 if (lseek(dirfd, -((off_t)sizeof(dblk)), SEEK_CUR) < 0) 1250 if (xread(dirfd,(cha [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/compat/ |
H A D | closefrom.c | 86 fd >= 0 && fd < INT_MAX && fd >= lowfd && fd != dirfd(dirp))
|
/netbsd-6-1-5-RELEASE/include/ |
H A D | dirent.h | 70 #define dirfd(dirp) ((dirp)->dd_fd) macro
|
/netbsd-6-1-5-RELEASE/regress/sys/kern/getcwd/ |
H A D | old_getcwd.c | 169 if (!(dir = opendir(up)) || fstat(dirfd(dir), &s))
|
/netbsd-6-1-5-RELEASE/tools/compat/ |
H A D | compat_defs.h | 216 #define dirfd(dirp) ((dirp)->dd_fd) macro 218 #define dirfd(dirp) ((dirp)->__dd_fd) macro 234 #define dirfd(dirp) (((struct _dirdesc *)dirp)->dd_fd) macro
|
H A D | configure | 4983 for ac_func in atoll asprintf asnprintf basename devname dirfd dirname \
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/krb5/ |
H A D | kuserok.c | 143 fd = dirfd(d);
|
/netbsd-6-1-5-RELEASE/lib/libc/gen/ |
H A D | Makefile.inc | 91 MLINKS+=directory.3 closedir.3 directory.3 dirfd.3 directory.3 opendir.3 \
|
H A D | fts.c | 692 if (fts_safe_changedir(sp, cur, dirfd(dirp), NULL)) {
|
/netbsd-6-1-5-RELEASE/lib/libpuffs/ |
H A D | null.c | 422 fd = dirfd(dirp);
|
/netbsd-6-1-5-RELEASE/external/public-domain/sqlite/dist/ |
H A D | sqlite3.c | 28317 int dirfd; local [all...] |
Completed in 615 milliseconds