?
What is the output of this program?
What is the output of this program?
#include<stdio.h>
#include<unistd.h>
#include<fcntl.h>
int main()
{
long int value;
int fd;
fd = open("/home/example/demo.c",O_RDONLY);
value = fpathconf(fd,_PC_LINK_MAX);
printf("%ld\n",value);
return 0;
}
#include<stdio.h>
#include<unistd.h>
#include<fcntl.h>
int main()
{
long int value;
int fd;
fd = open("/home/example/demo.c",O_RDONLY);
value = fpathconf(fd,_PC_LINK_MAX);
printf("%ld\n",value);
return 0;
}
Join the Discussion
Login to post a comment or share your explanation.
Login