Searched refs:symlnk (Results 1 – 3 of 3) sorted by relevance
/external/ltp/testcases/kernel/syscalls/lstat/ |
D | lstat01.c | 126 char fname[255], lname[255], symlnk[255], buf[255]; variable 154 TEST(lstat(symlnk, &statter)); in main() 160 symlnk, TEST_ERRNO, strerror(TEST_ERRNO)); in main() 164 symlnk, TEST_RETURN); in main() 195 sprintf(symlnk, "lnfile_%d", getpid()); in setup() 196 if (symlink(fname, symlnk) == -1) { in setup() 198 fname, symlnk, errno, strerror(errno)); in setup() 199 } else if (readlink(symlnk, buf, 255) == -1) { in setup() 201 symlnk, errno, strerror(errno)); in setup()
|
/external/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()
|
/external/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify09.c | 47 static char symlnk[BUF_SIZE]; variable 143 sprintf(symlnk, "/proc/self/fd/%d", event->fd); in verify_event() 144 len = readlink(symlnk, fdpath, sizeof(fdpath)); in verify_event()
|