Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-spam!mordor!lll-tis!ptsfa!ihnp4!pegasus!hansen From: hansen@pegasus.UUCP (Tony L. Hansen) Newsgroups: comp.unix.wizards Subject: Re: Determining the max number of open files on System V Message-ID: <2996@pegasus.UUCP> Date: Tue, 23-Jun-87 21:58:57 EDT Article-I.D.: pegasus.2996 Posted: Tue Jun 23 21:58:57 1987 Date-Received: Thu, 25-Jun-87 06:25:19 EDT References: <7730@brl-adm.ARPA> <20599@sun.uucp> Reply-To: hansen@pegasus.UUCP (60021254-Tony L. Hansen;LZ 3B-315;6243) Organization: AT&T-IS Labs, Lincroft, NJ Lines: 13 Keywords: ulimit, NFILES Summary: documented in SVr3.1 < Remember guys, this is UNIX where developers forget to document all < sorts of useful things, they put "ulimit(4, 0L)" in for a reason. < The way you get the max number of open files in S5R3 is < < int ndescriptors; < extern long ulimit(); < ndescriptors = ulimit(4, 0L); This feature is documented in the System V release 3.1 documentation. So now you can safely expect it to remain there for awhile. :-) Tony Hansen ihnp4!pegasus!hansen