Searched refs:newfn (Results 1 – 3 of 3) sorted by relevance
/external/e2fsprogs/util/ |
D | subst.c | 329 char *outfn = NULL, *newfn = NULL; in main() local 371 newfn = (char *) malloc(strlen(outfn)+20); in main() 372 if (!newfn) { in main() 376 strcpy(newfn, outfn); in main() 377 strcat(newfn, ".new"); in main() 378 ofd = open(newfn, O_CREAT|O_TRUNC|O_RDWR, 0644); in main() 380 perror(newfn); in main() 440 if (unlink(newfn) < 0) in main() 451 if (rename(newfn, outfn) < 0) { in main() 459 if (newfn) in main() [all …]
|
/external/ltp/testcases/kernel/syscalls/symlinkat/ |
D | symlinkat01.c | 73 const char *newfn; member 178 TEST(mysymlinkat(desc->oldfn, *desc->newfd, desc->newfn)); in mysymlinkat_test()
|
/external/ltp/testcases/kernel/syscalls/linkat/ |
D | linkat01.c | 94 const char *newfn; member 244 (*desc->oldfd, desc->oldfn, *desc->newfd, desc->newfn, in mylinkat_test()
|