SUMMARY:Helpful system calls.
Atish (ACHOWDHU.IN.ORACLE.COM.ofcmail@in.oracle.com)
Tue, 13 May 1997 10:41:31 +0330
Hi,
I was looking for a functions to find no of open files.
Well, for the same process I had to finally do it by getting the current
limit on the number of file descriptors,
( getrlimit(RLIMIT_NOFILE, (* (struct rlimit)) ), and then looping
that many number of times through fstat.
thanks and regds,
Atish
#..........................................................................#
>From : Atish Datta Chowdhury
Oracle Software Development Centre
India Development Centre
150 Embassy Point
Bangalore 560001
Telephone: (080) 2256099 Extn:496
e-mail: achowdhu@in.oracle.com
#..........................................................................#