Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 25 of 27) sorted by relevance

12

/misc/
A Ddaemon.c46 int fd; in daemon() local
66 if ((fd = __open_nocancel(_PATH_DEVNULL, O_RDWR, 0)) != -1 in daemon()
67 && (__builtin_expect (__fstat64 (fd, &st), 0) in daemon()
75 (void)__dup2(fd, STDIN_FILENO); in daemon()
76 (void)__dup2(fd, STDOUT_FILENO); in daemon()
77 (void)__dup2(fd, STDERR_FILENO); in daemon()
78 if (fd > 2) in daemon()
79 (void)__close (fd); in daemon()
83 __close_nocancel_nostatus (fd); in daemon()
88 __close_nocancel_nostatus (fd); in daemon()
A Dfchflags.c24 int fchflags (int fd, unsigned long int flags) __THROW;
27 fchflags (int fd, unsigned long int flags) in fchflags() argument
29 if (fd < 0) in fchflags()
A Dfutimesat.c28 futimesat (int fd, const char *file, const struct timeval tvp[2]) in futimesat() argument
30 if (fd < 0 in futimesat()
32 || (fd != AT_FDCWD && file[0] != '/'))) in futimesat()
A Dftruncate64.c24 __ftruncate64 (int fd, off64_t length) in __ftruncate64() argument
31 return __ftruncate (fd, (off_t) length); in __ftruncate64()
A Dtst-syscalls.c109 do_read (int fd, void *ptr, struct Array b) in do_read() argument
115 return read (fd, ptr, b.length); in do_read()
121 do_write (int fd, void *ptr, struct Array b) in do_write() argument
127 return write (fd, ptr, b.length); in do_write()
149 int fd = xopen ("/dev/null", O_RDWR, 0); in do_test() local
152 if (do_read (fd, array.ptr, array) == -1) in do_test()
157 if (do_write (fd, array.ptr, array) == -1) in do_test()
162 xclose (fd); in do_test()
A Dmmap64.c32 __mmap64 (void *addr, size_t len, int prot, int flags, int fd, in __mmap64() argument
44 return __mmap (addr, len, prot, flags, fd, small_offset); in __mmap64()
A Dsyncfs.c24 syncfs (int fd) in syncfs() argument
A Dfsync.c23 fsync (int fd) in fsync() argument
A Dftruncate.c24 __ftruncate (int fd, off_t length) in __ftruncate() argument
A Dfutimes.c25 __futimes (int fd, const struct timeval tvp[2]) in __futimes() argument
A Dstty.c24 stty (int fd, const struct sgttyb *params) in stty() argument
A Dpwritev.c29 pwritev (int fd, const struct iovec *vector, int count, off_t offset) in pwritev() argument
A Dpwritev64.c29 pwritev64 (int fd, const struct iovec *vector, int count, off64_t offset) in pwritev64() argument
A Dioctl.c24 __ioctl (int fd, unsigned long int request, ...) in __ioctl() argument
A Dgtty.c24 gtty (int fd, struct sgttyb *params) in gtty() argument
A Dpreadv.c29 preadv (int fd, const struct iovec *vector, int count, off_t offset) in preadv() argument
A Dpreadv64.c29 preadv64 (int fd, const struct iovec *vector, int count, off64_t offset) in preadv64() argument
A Dpwritev2.c24 pwritev2 (int fd, const struct iovec *vector, int count, off_t offset, in pwritev2() argument
A Dpwritev64v2.c24 pwritev64v2 (int fd, const struct iovec *vector, int count, off64_t offset, in pwritev64v2() argument
A Dpreadv2.c24 preadv2 (int fd, const struct iovec *vector, int count, off_t offset, in preadv2() argument
A Dpreadv64v2.c24 preadv64v2 (int fd, const struct iovec *vector, int count, off64_t offset, in preadv64v2() argument
A Dreadv.c28 __readv (int fd, const struct iovec *vector, int count) in __readv() argument
A Dwritev.c28 __writev (int fd, const struct iovec *vector, int count) in __writev() argument
A Dmmap.c32 __mmap (void *addr, size_t len, int prot, int flags, int fd, off_t offset) in __mmap() argument
/misc/sys/
A Dselect.h85 #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp) argument
86 #define FD_CLR(fd, fdsetp) __FD_CLR (fd, fdsetp) argument
87 #define FD_ISSET(fd, fdsetp) __FD_ISSET (fd, fdsetp) argument

Completed in 80 milliseconds

12