Home
last modified time | relevance | path

Searched refs:newfd (Results 1 – 14 of 14) sorted by relevance

/glibc-2.36/sysdeps/mach/hurd/
Dspawni.c522 #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 …]
Drenameat.c25 __renameat (int oldfd, const char *old, int newfd, const char *new) in __renameat() argument
27 return __renameat2 (oldfd, old, newfd, new, 0); in __renameat()
Drenameat2.c25 __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/
Drenameat2.c24 __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()
Drenameat.c25 __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()
Dspawni.c239 == 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/
Dspawn_faction_adddup2.c28 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()
Dspawn_int.h49 int newfd; member
/glibc-2.36/stdio-common/
Drenameat.c25 __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()
Drenameat2.c23 __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/
Dlogin_tty.c53 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/
Dxposix_spawn_file_actions_adddup2.c24 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/
Dfts.c1112 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/
Dfilesys.texi1247 @deftypefun int linkat (int oldfd, const char *@var{oldname}, int newfd, const char *@var{newname},…