how many file descriptors?

Mike Khaw mkhaw at teknowledge-vaxc.ARPA
Sat Sep 10 11:42:29 AEST 1988


How can a SunView program tell how many file descriptors it has in use,
especially if it opens&closes /dev/fb several times and creates&destroys
frames several times while it's running?

I have a SunView program that uses many frames and I want to be able to
check that I won't exceed my per-process file descriptor limit (30 in
SunOS 3.x) before creating a new frame.

Thanks,
Mike Khaw
-- 
internet: mkhaw at teknowledge.arpa
uucp:	  {uunet|sun|ucbvax|decwrl|uw-beaver}!mkhaw%teknowledge.arpa
hardcopy: Teknowledge Inc, 1850 Embarcadero Rd, POB 10119, Palo Alto, CA 94303



More information about the Comp.unix.questions mailing list