GNU Info

Info Node: (g77-295.info)FGetC Intrinsic (subroutine)

(g77-295.info)FGetC Intrinsic (subroutine)


Next: Float Intrinsic Prev: FGet Intrinsic (subroutine) Up: Table of Intrinsic Functions
Enter node , (file) or (file)node

FGetC Intrinsic (subroutine)
............................

     CALL FGetC(UNIT, C, STATUS)

UNIT: `INTEGER'; scalar; INTENT(IN).

C: `CHARACTER'; scalar; INTENT(OUT).

STATUS: `INTEGER(KIND=1)'; OPTIONAL; scalar; INTENT(OUT).

Intrinsic groups: `unix'.

Description:

   Reads a single character into C in stream mode from unit UNIT
(by-passing normal formatted output) using `getc(3)'.  Returns in
STATUS 0 on success, -1 on end-of-file, and the error code from
`ferror(3)' otherwise.

   Stream I/O should not be mixed with normal record-oriented
(formatted or unformatted) I/O on the same unit; the results are
unpredictable.

   For information on other intrinsics with the same name: Note: FGetC
Intrinsic (function).


automatically generated by info2www version 1.2.2.9