SUMMARY:Helpful system calls.

From: Atish (ACHOWDHU.IN.ORACLE.COM.ofcmail@in.oracle.com)
Date: Tue May 13 1997 - 02:11:31 CDT


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
 
#..........................................................................#
 
          
 
 



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:55 CDT