Path: utzoo!utdoe!generic!pnet91!ericmcg From: ericmcg@pnet91.cts.com (Eric Mcgillicuddy) Newsgroups: comp.sys.apple2 Subject: Re: fflush() on Hyper C Message-ID: <373@generic.UUCP> Date: 12 Jan 91 05:50:04 GMT Sender: root@generic.UUCP Organization: People-Net [pnet91], Etobicoke, ON Lines: 19 >I would like to know if anyone has managed to get a working fflush() function >on Hyper C or has any ideas how. I would do it myself, but I don't know >exactly what fflush() does (dumps current buffer into stream and closes >stream, >or something to that effect according to man fflush...) > >From: daye@jacobs.cs.orst.edu (Garion) Use sync(), it is of VOID type. It flushes all dirty buffers. On an Apple II this is not a big concern. Example: ........ sync(); ........ UUCP: bkj386!pnet91!ericmcg INET: ericmcg@pnet91.cts.com