www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/09/05/09:23:01

Xref: news-dnh.mv.net comp.os.msdos.djgpp:1904
Path: news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!swrinde!news.uh.edu!uuneo.neosoft.com!news!sandmann
From: Charles Sandmann <sandmann AT praline DOT no DOT NeoSoft DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: fcloseall function
Date: Tue, 05 Sep 1995 00:08:19 CDT
Organization: NeoSoft Internet Services +1 713 968 5800
Lines: 5
References: <DEEvsK DOT G61 AT cfanews DOT harvard DOT edu>
Reply-To: sandmann AT praline DOT no DOT NeoSoft DOT com
Nntp-Posting-Host: praline.no.neosoft.com
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

> Under djgpp 1.x, I implemented an approximation to the Borland
> fcloseall() function which closes all open streams (except stdin,
> Can I do something similar for version 2?  _iob is no longer defined.

You can use _fwalk (look in <libc/file.h>) or use the internal name for above

- Raw text -


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