home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c:13144 comp.unix.programmer:4528 comp.sys.sun.misc:4058
- Newsgroups: comp.lang.c,comp.unix.programmer,comp.sys.sun.misc
- Path: sparky!uunet!ferkel.ucsb.edu!piggy!chupchup
- From: chupchup@ferkel.ucsb.edu (Robert Earl)
- Subject: Re: SunOS 4.1.2: Increasing per process file pointers
- Message-ID: <chupchup.715507712@piggy>
- Followup-To: comp.unix.programmer,comp.sys.sun.misc
- Organization: (EVIL!)
- References: <1992Sep1.214828.3927@europa.asd.contel.com> <fpwyg5h@rpi.edu>
- Date: Thu, 3 Sep 1992 08:08:32 GMT
- Lines: 22
-
- fitzgb@mml0.meche.rpi.edu (Brian Fitzgerald) writes:
-
- | Hugh Warren writes:
- | >How can you increase the number of open file pointers allowable
- | >per process under SunOS 4.1.2? I'm hitting a limit of 60 using
- | >fopen() right now. Thanks for any help...
-
- | To increase your descriptor limit to 256:
- | ... [rlimit solutions deleted] ...
-
- Unfortunately, since the poster was using fopen() and SunOS, he's out
- of luck past fd #127, since the Sun library was compiled with signed
- chars and only a "char" allocated for the fileno field of a FILE
- object, thus it may return a pointer just fine, but will crap out on
- any I/O done on the (converted and sign-extended to int) value of the
- file descriptor. Oh well.
-
- --
- "If you've got a pig that likes jumping fences, | robert earl
- you have to make its fence a lot higher all at | rearl@ucsd.edu
- once -- if you do it by increments, all you're | rearl@piggy.ucsb.edu
- doing is training a jumping pig." -Henry Spencer|
-