home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!cs.utexas.edu!mercury.unt.edu!sol.acs.unt.edu!ih96
- From: ih96@sol.acs.unt.edu (Yu Zhi)
- Subject: detect EOF under unix inside fortran program?
- Message-ID: <ih96.714866310@sol.acs.unt.edu>
- Keywords: EOF, unix, open
- Sender: usenet@mercury.unt.edu (UNT USENet Adminstrator)
- Organization: University of North Texas
- Date: Wed, 26 Aug 1992 21:58:30 GMT
- Lines: 5
-
- Hi there. Sorry if this is a trivial FAQ. I'm woking in unix enviroment and
- in some of the fortran programs I want to detect if the opened files
- is at the end. I know in Microsoft Fortran you have EOF intrinsic function.
- Is there any similar function under unix? By the way I'm using Dynix and
- Sun/OS. Please mail me since I'm not often see this group. Thanx.
-