Searched refs:newFD (Results 1 - 13 of 13) sorted by relevance

/haiku/src/system/libroot/posix/unistd/
H A Ddup.c23 dup2(int oldFD, int newFD) argument
25 RETURN_AND_SET_ERRNO(_kern_dup2(oldFD, newFD));
/haiku/headers/build/host/darwin/
H A Dstdio.h10 int renameat(int oldFD, const char* oldPath, int newFD, const char* newPath);
H A Dunistd.h13 int linkat(int oldFD, const char *oldPath, int newFD, const char *newPath,
/haiku/src/tools/fs_shell/
H A Dpartition_support.h19 void restricted_file_duped(int oldFD, int newFD);
H A Dunistd.cpp97 int newFD; local
99 newFD = dup(fd);
101 newFD = _kern_dup(fd);
102 if (newFD < 0) {
103 fssh_set_errno(newFD);
104 newFD = -1;
108 FSShell::restricted_file_duped(fd, newFD);
110 return newFD;
H A Dpartition_support.cpp110 restricted_file_duped(int oldFD, int newFD) argument
H A Dsyscalls.h51 fssh_status_t _kern_rename(int oldFD, const char *oldPath, int newFD,
H A Dvfs.cpp3830 common_rename(int fd, char *path, int newFD, char *newPath, bool kernel) argument
3837 FUNCTION(("common_rename(fd = %d, path = %s, newFD = %d, newPath = %s, kernel = %d)\n", fd, path, newFD, newPath, kernel));
3843 status = fd_and_path_to_dir_vnode(newFD, newPath, &toVnode, toName, kernel);
5433 * \param newFD The FD of the new location. May be < 0.
5441 _kern_rename(int oldFD, const char *oldPath, int newFD, const char *newPath) argument
5449 newFD, newPathBuffer.LockBuffer(), true);
/haiku/src/build/libroot/
H A Dfs_darwin.cpp338 renameat(int oldFD, const char* oldPath, int newFD, const char* newPath) argument
346 if (newFD == AT_FDCWD || (newPath != NULL && newPath[0] == '/'))
368 if (newFD < 0) {
374 if (get_path(newFD, newPath, newFullPath) < 0)
458 linkat(int oldFD, const char *oldPath, int newFD, const char *newPath, argument
477 if (newFD == AT_FDCWD || (newPath != NULL && newPath[0] == '/'))
499 if (newFD < 0) {
505 if (get_path(newFD, newPath, newFullPath) < 0)
H A Dfs.cpp686 int newFD = open(path, openMode, perms); local
687 if (newFD < 0)
690 descriptor = new FileDescriptor(newFD);
/haiku/src/system/kernel/fs/
H A Dvfs_tracing.h128 Dup2FD(io_context* context, int oldFD, int newFD) argument
132 fEvictedDescriptor(context->fds[newFD]),
136 fNewFD(newFD)
H A Dvfs.cpp5612 int newFD = open_vnode(vnode.Get(), openMode, kernel); local
5613 if (newFD >= 0) {
5621 return newFD;
5645 int newFD = open_vnode(vnode.Get(), openMode, kernel); local
5646 if (newFD >= 0) {
5654 return newFD;
5944 int newFD = open_dir_vnode(vnode.Get(), kernel); local
5945 if (newFD >= 0) {
5953 return newFD;
5972 int newFD local
6560 common_rename(int fd, char* path, int newFD, char* newPath, bool kernel) argument
8547 _kern_rename(int oldFD, const char* oldPath, int newFD, const char* newPath) argument
9456 _user_rename(int oldFD, const char* userOldPath, int newFD, const char* userNewPath) argument
[all...]
/haiku/headers/private/kernel/
H A Dvfs.h206 status_t _user_rename(int oldFD, const char *oldpath, int newFD,

Completed in 145 milliseconds