Mail Archives: djgpp/1997/03/20/23:19:43
hi!
Delong wrote:
> I was wonreing if there is a function (either from libc or an interrupt)
> that will return the number of files currently open ...
Well, I don't use open() (fopen() instead), so I'm not sure of what I
tell, but you should check the _fwalk() function on the libc ref. As far
as I can recall this does a walk on every opened file calling a routine,
you can make a function to increment a counter, and that would be it :-)
Bay
_*
\ |/_|\/||\ sigma AT ctv DOT es
_\|\/| ||_\ (formerly Sigmatech) Jerez / Cadiz / Spain
- Raw text -