Searched refs:targetlen (Results 1 – 1 of 1) sorted by relevance
| /xnu-11417.121.6/tests/vfs/ |
| H A D | longpaths.c | 877 size_t targetlen = strlen(targetpath); in test_symlink_long2long() local 885 char *buf = emalloc(targetlen + 1); in test_symlink_long2long() 888 T_QUIET; T_ASSERT_POSIX_SUCCESS((linklen = readlink(linkpath, buf, targetlen)), CTXSTR); in test_symlink_long2long() 889 T_QUIET; T_ASSERT_EQ((size_t)linklen, targetlen, in test_symlink_long2long() 914 size_t targetlen = strlen(targetname); in test_symlink_long2short() local 921 char *buf = emalloc(targetlen + 1); in test_symlink_long2short() 924 T_QUIET; T_ASSERT_POSIX_SUCCESS((linklen = readlink(path, buf, targetlen)), CTXSTR); in test_symlink_long2short() 925 T_QUIET; T_ASSERT_EQ((size_t)linklen, targetlen, in test_symlink_long2short()
|