Vidyalelo
Computer Science · Q260

Linux

Engineering and GATE · Computer Science · question 260

Q260

This program will print the #include #include #include int main() struct rlimit limit; getrlimit(RLIMIT_FSIZE,&limit); printf("%lu ",limit.rlim_cur); printf("%lu ",limit.rlim_max); return 0;

A.
soft limit of the size of the file in bytes that can be created by the process
B.
hard limit of the size of the file in bytes that can be created by the process
C.
soft 7 hard limit of the size of the file in bytes that can be created by the process
Answer
D.
none of the mentioned

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board