home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!mips!odin!bananapc.csd.sgi.com!ciemo
- From: ciemo@bananapc.csd.sgi.com (Dave Ciemiewicz)
- Subject: Re: dumb fortran fflust question
- Message-ID: <1992Aug17.164554.13389@odin.corp.sgi.com>
- Keywords: dumb fortran fflush question
- Sender: news@odin.corp.sgi.com (Net News)
- Nntp-Posting-Host: bananapc.csd.sgi.com
- Organization: Silicon Graphics, Customer Support Division
- References: <1992Aug15.225000.21739@leland.Stanford.EDU>
- Date: Mon, 17 Aug 1992 16:45:54 GMT
- Lines: 34
-
- In article <1992Aug15.225000.21739@leland.Stanford.EDU>, bernardl@cs.Stanford.EDU (Bernard Lee) writes:
- |> Because of the way logical unit i/o is implemented on SGI FORTRAN,
- |> we have to do a flush on a file descriptor. Does any one know
- |> how to do that without writing assembly code? Or does anyone
- |> happen to have any assembly code routine which allows us to
- |> do that?
-
- See the flush(3F) manual page. flush(3F) will flush the stdio output buffer
- associated with the logical unit.
-
-
- FLUSH(3F) Silicon Graphics FLUSH(3F)
-
- NAME
- flush - flush output to a logical unit
-
- SYNOPSIS
- subroutine flush (lunit)
-
- DESCRIPTION
- Flush causes the contents of the buffer for logical unit lunit to be
- flushed to the associated file. There is usually an 8K buffer associated
- with block device output whereas terminal output is line-buffered.
-
- FILES
- /usr/lib/libU77.a
-
- --
-
- __ * __ _ __ ___
- / \ / / / / \/ \/ \ He was a man like any other man, however, not
- / / \/ / /\ / / quite like any other man.
- \___/\__/\_/ /_/ / \__/
- *
-