Commit d4a7a8f9 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(find_limits): Report FD_SETSIZE.

parent 9af7eb5a
......@@ -34,6 +34,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <limits.h>
#include <sys/types.h>
#ifdef HAVE_SYS_RESOURCE_H
# ifdef TIME_WITH_SYS_TIME
# include <sys/time.h>
......@@ -128,6 +129,11 @@ find_limits(const char *s,
printf("%ssysconf: n/a\n", s);
p->sysconfmax = 0;
#endif
#if defined(FD_SETSIZE)
printf("%sFD_SETSIZE: %ld\n", s, FD_SETSIZE);
#else
printf("%sFD_SETSIZE: n/a\n", s);
#endif
while(1)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment