home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sgi / 12494 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.6 KB  |  48 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!mips!odin!bananapc.csd.sgi.com!ciemo
  3. From: ciemo@bananapc.csd.sgi.com (Dave Ciemiewicz)
  4. Subject: Re: dumb fortran fflust question
  5. Message-ID: <1992Aug17.164554.13389@odin.corp.sgi.com>
  6. Keywords: dumb fortran fflush question
  7. Sender: news@odin.corp.sgi.com (Net News)
  8. Nntp-Posting-Host: bananapc.csd.sgi.com
  9. Organization: Silicon Graphics, Customer Support Division
  10. References:  <1992Aug15.225000.21739@leland.Stanford.EDU>
  11. Date: Mon, 17 Aug 1992 16:45:54 GMT
  12. Lines: 34
  13.  
  14. In article <1992Aug15.225000.21739@leland.Stanford.EDU>, bernardl@cs.Stanford.EDU (Bernard Lee) writes:
  15. |> Because of the way logical unit i/o is implemented on SGI FORTRAN, 
  16. |> we have to do a flush on a file descriptor.  Does any one know
  17. |> how to do that without writing assembly code?  Or does anyone
  18. |> happen to have any assembly code routine which allows us to 
  19. |> do that?
  20.  
  21. See the flush(3F) manual page.  flush(3F) will flush the stdio output buffer
  22. associated with the logical unit.
  23.  
  24.  
  25. FLUSH(3F)                      Silicon Graphics                      FLUSH(3F)
  26.  
  27. NAME
  28.      flush - flush output to a logical unit
  29.  
  30. SYNOPSIS
  31.      subroutine flush (lunit)
  32.  
  33. DESCRIPTION
  34.      Flush causes the contents of the buffer for logical unit lunit to be
  35.      flushed to the associated file.  There is usually an 8K buffer associated
  36.      with block device output whereas terminal output is line-buffered.
  37.  
  38. FILES
  39.       /usr/lib/libU77.a
  40.  
  41. -- 
  42.  
  43.     __   * __   _  __  ___            
  44.    /  \ / / /  / \/  \/   \     He was a man like any other man, however, not
  45.   /    /  \/  /  /\  /    /    quite like any other man.
  46.   \___/\__/\_/  /_/ / \__/    
  47.                *        
  48.