This program will print the
#include<stdio.h>
#include<unistd.h>
int main()
{
long int value;
value = pathconf("/home/example",_PC_NAME_MAX);
printf("%ld\n",value);
return 0;
}
#include<stdio.h>
#include<unistd.h>
int main()
{
long int value;
value = pathconf("/home/example",_PC_NAME_MAX);
printf("%ld\n",value);
return 0;
}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
Answer: Option B

Join The Discussion