Home | History | Annotate | Download | only in nacl_io

Lines Matching refs:newfd

99 int WRAP(dup)(int fd, int* newfd) {
100 *newfd = ki_dup(fd);
101 ERRNO_RTN(*newfd);
104 int WRAP(dup2)(int fd, int newfd) {
105 newfd = ki_dup2(fd, newfd);
106 ERRNO_RTN(newfd);
188 int WRAP(open)(const char* pathname, int oflag, mode_t mode, int* newfd) {
189 *newfd = ki_open(pathname, oflag, mode);
190 ERRNO_RTN(*newfd);
337 int _real_open(const char* pathname, int oflag, mode_t mode, int* newfd) {
339 return REAL(open)(pathname, oflag, mode, newfd);