Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ierrno(3F) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

intro(2)

perror(3c)



PERROR(3F)              COMMAND REFERENCE              PERROR(3F)



NAME
     perror, gerror, ierrno - get system error messages

SYNOPSIS
     subroutine perror (string)
     character*(*) string

     subroutine gerror (string)
     character*(*) string

     character*(*) function gerror ()

     integer function ierrno ()

DESCRIPTION
     Perror writes a message to FORTRAN logical unit 0 (stderr)
     appropriate to the last detected system error.  The user
     specified string will be written preceding the standard
     error message.

     Gerror returns the system error message in character
     variable string.  Gerror may be called either as a
     subroutine or as a function.

     Ierrno will return the error number of the last detected
     system error.  This number is updated only when an error
     actually occurs.  Most routines and I/O statements that
     might generate such errors return an error code after the
     call; that value is a more reliable indicator of what caused
     the error condition.

FILES
     /usr/lib/libU77.a        f77 UTek system interface library.

DIAGNOSTICS
     UTek system error codes are described in intro(2).  The f77
     I/O error codes and their meanings are:

          100  error in format
          101  illegal unit number
          102  formatted I/O not allowed
          103  unformatted I/O not allowed
          104  direct I/O not allowed
          105  sequential I/O not allowed
          106  cannot backspace file
          107  off beginning of record
          108  cannot stat file
          109  no * after repeat count
          110  off end of record
          111  truncation failed
          112  incomprehensible list input
          113  out of free space



Printed 10/17/86                                                1





PERROR(3F)              COMMAND REFERENCE              PERROR(3F)



          114  unit not connected
          115  read unexpected character
          116  blank logical input field
          117  new file exists
          118  cannot find old file
          119  unknown system error
          120  requires seek ability
          121  illegal argument
          122  negative repeat count
          123  illegal operation for unit


CAVEATS
     String in the call to perror can be no longer than 127
     characters.

     The length of the string returned by gerror is determined by
     the calling program.

SEE ALSO
     intro(2), perror(3c).


































Printed 10/17/86                                                2





































































%%index%%
na:72,86;
sy:158,1075;
de:1233,956;
fi:2189,146;
di:2335,736;3215,381;
ca:3596,305;
se:3901,137;
%%index%%000000000130

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026