Searched refs:minfd (Results 1 - 5 of 5) sorted by relevance
/third_party/NuttX/fs/vfs/ |
H A D | fs_dupfd.c | 79 int file_dup(struct file *filep, int minfd) in file_dup() argument 93 filep2 = files_allocate(filep->f_vnode, filep->f_oflags, filep->f_pos, filep->f_priv, minfd); in file_dup() 109 * greater than or equal to 'minfd'). If socket descriptors are 121 int fs_dupfd(int fd, int minfd) in fs_dupfd() argument 136 return file_dup(filep, minfd); in fs_dupfd()
|
/third_party/mesa3d/src/util/ |
H A D | os_file.c | 53 int minfd = 3; in os_dupfd_cloexec() local 54 int newfd = fcntl(fd, F_DUPFD_CLOEXEC, minfd); in os_dupfd_cloexec() 62 newfd = fcntl(fd, F_DUPFD, minfd); in os_dupfd_cloexec()
|
/third_party/NuttX/fs/inode/ |
H A D | fs_files.c | 422 struct file *files_allocate(const struct Vnode *vnode_ptr, int oflags, off_t pos, const void *priv, int minfd) in files_allocate() argument 430 if (minfd < FILE_START_FD) in files_allocate() 432 minfd = FILE_START_FD; in files_allocate() 434 i = (unsigned int)minfd; in files_allocate() 583 int alloc_fd(int minfd) in alloc_fd() argument 590 /* minfd should be a positive number,and 0,1,2 had be distributed to stdin,stdout,stderr */ in alloc_fd() 592 if (minfd < FILE_START_FD) in alloc_fd() 594 minfd = FILE_START_FD; in alloc_fd() 596 i = (unsigned int)minfd; in alloc_fd()
|
/third_party/NuttX/fs/vfs/include/ |
H A D | file.h | 204 * greater than or equal to 'minfd'). If socket descriptors are 220 int fs_dupfd(int fd, int minfd); 237 int file_dup(struct file *filep, int minfd); 473 struct file *files_allocate(const struct Vnode *vnode_ptr, int oflags, off_t pos, const void *priv, int minfd);
|
/third_party/python/Lib/test/ |
H A D | test_os.py | 1536 minfd = os.dup(1) 1537 os.close(minfd) 1543 self.assertEqual(newfd, minfd)
|
Completed in 9 milliseconds