8000 minix/minix/tests/test36.c at v3.3.0 · jungle0755/minix · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
183 lines (155 loc) · 3.38 KB

test36.c

File metadata and controls

183 lines (155 loc) · 3.38 KB
{
char **p;
/* These three options are only defined on directorys. */
if (option == _PC_NO_TRUNC
|| option == _PC_NAME_MAX
|| option == _PC_PATH_MAX)
p = testdirs;
else
p = testfiles;
for (; *p != NULL; p++) {
if (pathconf(*p, option) < minimum)
return printf("*p == %s\n", *p), 1;
}
return 0;
}
0