Searched refs:symlnk (Results 1 – 3 of 3) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/symlink/ |
D | symlink02.c | 126 char fname[255], symlnk[255]; variable 153 TEST(symlink(fname, symlnk)); in main() 158 fname, symlnk, TEST_ERRNO, in main() 161 SAFE_UNLINK(cleanup, symlnk); in main() 196 sprintf(symlnk, "st_%d", getpid()); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify05.c | 62 static char symlnk[BUF_SIZE]; variable 72 sprintf(symlnk, "/proc/self/fd/%d", event->fd); in event_res() 73 len = readlink(symlnk, fdpath, sizeof(fdpath)); in event_res()
|
D | fanotify09.c | 58 static char symlnk[BUF_SIZE]; variable 182 sprintf(symlnk, "/proc/self/fd/%d", event->fd); in event_res() 183 len = readlink(symlnk, fdpath, sizeof(fdpath)); in event_res()
|