Subject: sysconf(_SC_OPEN_MAX) semantics
To: None <firstname.lastname@example.org>
From: Brook Milligan <email@example.com>
Date: 08/28/2000 13:13:44
It seems that there are two impressions about the meaning of return
values from sysconf(3) for the case of sysconf(_SC_OPEN_MAX). The
NetBSD man page (1.4) states
The maximum number of open files per user id.
Others seem to claim that it is PER PROCESS not per user id. The
NetBSD man page also claims POSIX conformance, as do the others.
What exactly are the semantics of this? Which is POSIX compliant? Is
the NetBSD man page correct? Is the NetBSD code correct?
Thanks for your help.