Searched refs:targetlen (Results 1 – 1 of 1) sorted by relevance
| /xnu-12377.61.12/tests/vfs/ |
| H A D | longpaths.c | 880 size_t targetlen = strlen(targetpath); in test_symlink_long2long() local 888 char *buf = emalloc(targetlen + 1); in test_symlink_long2long() 891 T_QUIET; T_ASSERT_POSIX_SUCCESS((linklen = readlink(linkpath, buf, targetlen)), CTXSTR); in test_symlink_long2long() 892 T_QUIET; T_ASSERT_EQ((size_t)linklen, targetlen, in test_symlink_long2long() 917 size_t targetlen = strlen(targetname); in test_symlink_long2short() local 924 char *buf = emalloc(targetlen + 1); in test_symlink_long2short() 927 T_QUIET; T_ASSERT_POSIX_SUCCESS((linklen = readlink(path, buf, targetlen)), CTXSTR); in test_symlink_long2short() 928 T_QUIET; T_ASSERT_EQ((size_t)linklen, targetlen, in test_symlink_long2short()
|