Searched defs:newdirfd (Results 1 - 1 of 1) sorted by relevance

/systemd/src/basic/
H A Dfs-util.c106 int rename_noreplace(int olddirfd, const char *oldpath, int newdirfd, const char *newpath) { argument
110 ret = renameat2(olddirfd, oldpath, newdirfd, newpath, RENAME_NOREPLACE);
125 ret = renameat(olddirfd, oldpath, newdirfd, newpath);
130 ret = linkat(olddirfd, oldpath, newdirfd, newpath, 0);
138 (void) unlinkat(newdirfd, newpath, 0);

Completed in 687 milliseconds