Subject: Re: sysconf(_SC_OPEN_MAX) semantics
To: Brook Milligan <brook@biology.nmsu.edu>
From: Klaus Klein <kleink@uni-trier.de>
List: current-users
Date: 08/29/2000 08:37:34
Brook Milligan <brook@biology.nmsu.edu> writes:

> 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
> 
>      _SC_OPEN_MAX
>              The maximum number of open files per user id.
> 
> Others seem to claim that it is PER PROCESS not per user id.  [...]

It's a bug in the NetBSD manual page, which will be fixed in 1.5.
(The implementation does TRT, however.)


-klaus