This program will print the
A. maximum numbers of the file that can store in this directory
B. maximum length of a filename in this directory that the process is allowed to create
C. segmentation fault
D. none of the mentioned
Code:
#include<stdio.h>
#include<unistd.h>
int main()
{
long int value;
value = pathconf("/home/123hoidap",_PC_NAME_MAX);
printf("%ld\n",value);
return 0;
}
B. maximum length of a filename in this directory that the process is allowed to create
C. segmentation fault
D. none of the mentioned