Quang Hiếu
New member
This program will print the
A. maximum number of simultaneous processes per user id
B. maximum number of child processes of the current process
C. minimum number of simultaneous processes per user id
D. none of the mentioned
Code:
#include<stdio.h>
#include<unistd.h>
int main()
{
long int value;
value = sysconf(_SC_CHILD_MAX);
printf("%ld\n",value);
return 0;
}
B. maximum number of child processes of the current process
C. minimum number of simultaneous processes per user id
D. none of the mentioned