/glibc-2.36/sysdeps/mach/hurd/ |
D | spawni.c | 522 #define EXPAND_DTABLE(newfd) \ in __spawni() argument 524 if ((unsigned int)newfd >= dtablesize \ in __spawni() 525 && newfd < _hurd_rlimits[RLIMIT_OFILE].rlim_cur) \ in __spawni() 528 NEW_TABLE (dtable, newfd); \ in __spawni() 529 NEW_ULINK_TABLE (ulink_dtable, newfd); \ in __spawni() 530 NEW_TABLE (dtable_cells, newfd); \ in __spawni() 531 dtablesize = newfd + 1; \ in __spawni() 533 ((unsigned int)newfd < dtablesize ? 0 : EMFILE); \ in __spawni() 535 #define NEW_TABLE(x, newfd) \ in __spawni() argument 536 do { __typeof (x) new_##x = __alloca ((newfd + 1) * sizeof (x[0])); \ in __spawni() [all …]
|
D | renameat.c | 25 __renameat (int oldfd, const char *old, int newfd, const char *new) in __renameat() argument 27 return __renameat2 (oldfd, old, newfd, new, 0); in __renameat()
|
D | renameat2.c | 25 __renameat2 (int oldfd, const char *old, int newfd, const char *new, in __renameat2() argument 43 newdir = __directory_name_split_at (newfd, new, (char **) &newname); in __renameat2()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | renameat2.c | 24 __renameat2 (int oldfd, const char *old, int newfd, const char *new, in __renameat2() argument 28 return INLINE_SYSCALL_CALL (renameat2, oldfd, old, newfd, new, flags); in __renameat2() 31 return __renameat (oldfd, old, newfd, new); in __renameat2() 34 int ret = INLINE_SYSCALL_CALL (renameat2, oldfd, old, newfd, new, flags); in __renameat2()
|
D | renameat.c | 25 __renameat (int oldfd, const char *old, int newfd, const char *new) in __renameat() argument 28 return INLINE_SYSCALL_CALL (renameat, oldfd, old, newfd, new); in __renameat() 30 return INLINE_SYSCALL_CALL (renameat2, oldfd, old, newfd, new, 0); in __renameat()
|
D | spawni.c | 239 == action->action.dup2_action.newfd) in __spawni_child() 241 int fd = action->action.dup2_action.newfd; in __spawni_child() 249 action->action.dup2_action.newfd) in __spawni_child() 250 != action->action.dup2_action.newfd) in __spawni_child()
|
/glibc-2.36/posix/ |
D | spawn_faction_adddup2.c | 28 int fd, int newfd) in __posix_spawn_file_actions_adddup2() argument 32 if (!__spawn_valid_fd (fd) || !__spawn_valid_fd (newfd)) in __posix_spawn_file_actions_adddup2() 45 rec->action.dup2_action.newfd = newfd; in __posix_spawn_file_actions_adddup2()
|
D | spawn_int.h | 49 int newfd; member
|
/glibc-2.36/stdio-common/ |
D | renameat.c | 25 __renameat (int oldfd, const char *old, int newfd, const char *new) in __renameat() argument 27 if ((oldfd < 0 && oldfd != AT_FDCWD) || (newfd < 0 && newfd != AT_FDCWD)) in __renameat()
|
D | renameat2.c | 23 __renameat2 (int oldfd, const char *old, int newfd, const char *new, in __renameat2() argument 27 return __renameat (oldfd, old, newfd, new); in __renameat2()
|
/glibc-2.36/login/ |
D | login_tty.c | 53 int newfd; in __login_tty() local 62 newfd = __open64 (fdname, O_RDWR); in __login_tty() 63 __close (newfd); in __login_tty()
|
/glibc-2.36/support/ |
D | xposix_spawn_file_actions_adddup2.c | 24 int newfd) in xposix_spawn_file_actions_adddup2() argument 26 int status = posix_spawn_file_actions_adddup2 (fa, fd, newfd); in xposix_spawn_file_actions_adddup2()
|
/glibc-2.36/io/ |
D | fts.c | 1112 int ret, oerrno, newfd; in fts_safe_changedir() local 1115 newfd = fd; in fts_safe_changedir() 1118 if (fd < 0 && (newfd = __open(path, O_RDONLY, 0)) < 0) in fts_safe_changedir() 1120 if (__fstat64(newfd, &sb)) { in fts_safe_changedir() 1129 ret = __fchdir(newfd); in fts_safe_changedir() 1133 (void)__close(newfd); in fts_safe_changedir()
|
/glibc-2.36/manual/ |
D | filesys.texi | 1247 @deftypefun int linkat (int oldfd, const char *@var{oldname}, int newfd, const char *@var{newname},…
|