www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/16/23:35:00

From: Delong <dandelong AT osha DOT igs DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: A way to find how many files are currently 'open'?
Date: Sun, 16 Mar 1997 19:11:53 -0500
Organization: ...
Lines: 15
Message-ID: <332C8C47.59EF@osha.igs.net>
Reply-To: dandelong AT osha DOT igs DOT net
NNTP-Posting-Host: ttya1b.osha.igs.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I was wonreing if there is a function (either from libc or an interrupt)
that will return the number of files currently open ...

Suppose I read from this 'function', then opened a file (with 'open()'),
then read from this function again. I would expect it to return 1 more
opened file than the first time.

Any way to do this? It would really help me find a problem I'm currently
having so let me know if you've seen one, 
Thanks.
-- 
 ... Andrew Delong
______________________________________________________________
Check out my hompage ... Great for graphics & DOS programming
http://www.osha.igs.net/~dandelong/nash.htm

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019