Searched refs:oldfd (Results 1 - 6 of 6) sorted by relevance

/netbsd-6-1-5-RELEASE/external/cddl/osnet/lib/libzfs/
H A Dfsshare.c151 FILE *newfd, *oldfd; local
154 newfd = oldfd = NULL;
177 oldfd = fopen(file, "r");
178 if (oldfd == NULL) {
192 error = flock(fileno(oldfd), LOCK_EX);
199 while (oldfd != NULL && (line = zgetline(oldfd, mountpoint)) != NULL)
201 if (oldfd != NULL && ferror(oldfd) != 0) {
202 error = ferror(oldfd);
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/atf-c/detail/
H A Dprocess.c314 safe_dup(const int oldfd, const int newfd) argument
318 if (oldfd != newfd) {
319 if (dup2(oldfd, newfd) == -1) {
322 close(oldfd);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/atf-c/detail/
H A Dprocess.c316 safe_dup(const int oldfd, const int newfd) argument
320 if (oldfd != newfd) {
321 if (dup2(oldfd, newfd) == -1) {
324 close(oldfd);
/netbsd-6-1-5-RELEASE/lib/libc/gen/
H A Dfts.c1191 int oldfd = fd, ret = -1; local
1197 if (oldfd < 0 && (fd = open(path, O_RDONLY)) == -1)
1211 if (oldfd < 0) {
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libcpp/
H A Dfiles.c1724 int oldfd = f->fd;
1734 f->fd = oldfd;
1723 int oldfd = f->fd; local
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libcpp/
H A Dfiles.c1493 int oldfd = f->fd;
1503 f->fd = oldfd;
1492 int oldfd = f->fd; local

Completed in 212 milliseconds