delorie.com/archives/browse.cgi | search |
Xref: | news2.mv.net comp.os.msdos.djgpp:7805 |
From: | Erik Max Francis <max AT alcyone DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: interrupting with ctrl-C |
Date: | Fri, 23 Aug 1996 07:42:14 -0700 |
Organization: | Alcyone Systems |
Lines: | 14 |
Message-ID: | <321DC346.5FC7EEF4@alcyone.com> |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 960821095259 DOT 336B-100000 AT is> |
NNTP-Posting-Host: | annex-p133.meer.net |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Eli Zaretskii wrote: > You don't need to close a file to make sure all the data is delivered to > disk. Just call `fsync' library function, and it will do the same much > quicker (`close' and `open' are very expensive). Calling `sync' will do > the same for all open files. Note that fsync and sync are not ANSI C. Programs which use them will not be portable. -- Erik Max Francis, &tSftDotIotE http://www.alcyone.com/max/ max AT alcyone DOT com San Jose, California ICBM 37 20 07 N 121 53 38 W R^4: the 4th R is respect War's a game which were their subjects wise/Kings would not play at. -- Cowper
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |