Home | History | Annotate | Download | only in renameat

Lines Matching refs:renameat

22  *   1) renameat(2) returns -1 and sets errno to EBADF if olddirfd
24 * 2) renameat(2) returns -1 and sets errno to ENOTDIR if oldpath
28 * 3) renameat(2) returns -1 and sets errno to ELOOP if too many
31 * 4) renameat(2) returns -1 and sets errno to EROFS if the file
33 * 5) renameat(2) returns -1 and sets errno to EMLINK if oldpath
55 #include "lapi/renameat.h"
211 TEST(renameat(*(tc->oldfdptr), tc->oldpath,
215 tst_resm(TFAIL, "renameat() succeeded unexpectedly");
220 tst_resm(TFAIL | TTERRNO, "renameat() failed unexpectedly");
226 "renameat() returned the expected value");
229 "renameat() got unexpected return value; expected: "
234 if (TEST_ERRNO == 0 && renameat(*(tc->newfdptr), tc->newpath,
236 tst_brkm(TBROK | TERRNO, cleanup, "renameat(%d, %s, "