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
Related Questions on Linux
What command is used to count the total number of lines, words, and characters contained in a file?
A. countw
B. wcount
C. wc
D. count p
E. None of the above
What command is used with vi editor to delete a single character?
A. x
B. y
C. a
D. z
E. None of the above

Join The Discussion