#include <unistd.h>
|
|
int
getdtablesize (void); |
#include <stdio.h>
int main()
{
printf("maximum number of files that can be opened by a process is %d\n",getdtablesize());
}
Output
maximum number of files that can be opened by a process is 1024
|
© 2005-2007 Nokia |