There are two limits on the number of open files in a POSIX system,
represented by two fdifferent errno values:

EMFILE -> process has too many files open

ENFILE -> system has too many files open across all processes

The limit for EMFILE may be obtained using sysconf(_SC_OPEN_MAX)

Is there a way to obtain the limit for ENFILE?

Linux specific is OK, but a general solution would be nicer.

This is for libexplain, in case you hadn't guessed.


Regards
Peter Miller <[EMAIL PROTECTED]>
/\/\*        http://miller.emu.id.au/pmiller/

PGP public key ID: 1024D/D0EDB64D
fingerprint = AD0A C5DF C426 4F03 5D53  2BDB 18D8 A4E2 D0ED B64D
See http://www.keyserver.net or any PGP keyserver for public key.

"Testing can only prove the presence of bugs, not their
absence." --  Edsger Dijkstra

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
coders mailing list
coders@slug.org.au
http://lists.slug.org.au/listinfo/coders

Reply via email to