BSD 4_3 release
[unix-history] / usr / man / man3 / perror.3f
index bb41838..fea2e75 100644 (file)
@@ -1,4 +1,11 @@
-.TH PERROR 3F "19 January 1983"
+.\" Copyright (c) 1983 Regents of the University of California.
+.\" All rights reserved.  The Berkeley software License Agreement
+.\" specifies the terms and conditions for redistribution.
+.\"
+.\"    @(#)perror.3f   6.2 (Berkeley) 6/7/85
+.\"
+.TH PERROR 3F "June 7, 1985"
+.UC 5
 .SH NAME
 perror, gerror, ierrno \- get system error messages
 .SH SYNOPSIS
 .SH NAME
 perror, gerror, ierrno \- get system error messages
 .SH SYNOPSIS
@@ -18,13 +25,13 @@ perror, gerror, ierrno \- get system error messages
 will write a message to fortran logical unit 0
 appropriate to the last detected system error.
 .I String
 will write a message to fortran logical unit 0
 appropriate to the last detected system error.
 .I String
-will be written preceeding the standard error message.
+will be written preceding the standard error message.
 .PP
 .I Gerror
 returns the system error message in character variable
 .I string.
 .I Gerror
 .PP
 .I Gerror
 returns the system error message in character variable
 .I string.
 .I Gerror
-may be called as a subroutine or a function.
+may be called either as a subroutine or as a function.
 .PP
 .I Ierrno
 will return the error number of the last detected system error.
 .PP
 .I Ierrno
 will return the error number of the last detected system error.
@@ -36,7 +43,9 @@ that value is a more reliable indicator of what caused the error condition.
 .ie \nM /usr/ucb/lib/libU77.a
 .el /usr/lib/libU77.a
 .SH "SEE ALSO"
 .ie \nM /usr/ucb/lib/libU77.a
 .el /usr/lib/libU77.a
 .SH "SEE ALSO"
-intro(2), perror(3), "The f77 I/O Library"
+intro(2), perror(3)
+.br
+D. L. Wasley, \fIIntroduction to the f77 I/O Library\fR
 .SH BUGS
 .I String
 in the call to
 .SH BUGS
 .I String
 in the call to
@@ -52,48 +61,52 @@ UNIX system error codes are described in
 The f77 I/O error codes and their meanings are:
 .sp 1
 .in +5
 The f77 I/O error codes and their meanings are:
 .sp 1
 .in +5
-100    "error in format"
+100    ``error in format''
+.br
+101    ``illegal unit number''
+.br
+102    ``formatted i/o not allowed''
 .br
 .br
-101    "illegal unit number"
+103    ``unformatted i/o not allowed''
 .br
 .br
-102    "formatted io not allowed"
+104    ``direct i/o not allowed''
 .br
 .br
-103    "unformatted io not allowed"
+105    ``sequential i/o not allowed''
 .br
 .br
-104    "direct io not allowed"
+106    ``can't backspace file''
 .br
 .br
-105    "sequential io not allowed"
+107    ``off beginning of record''
 .br
 .br
-106    "can't backspace file"
+108    ``can't stat file''
 .br
 .br
-107    "off beginning of record"
+109    ``no * after repeat count''
 .br
 .br
-108    "can't stat file"
+110    ``off end of record''
 .br
 .br
-109    "no * after repeat count"
+111    ``truncation failed''
 .br
 .br
-110    "off end of record"
+112    ``incomprehensible list input''
 .br
 .br
-111    "truncation failed"
+113    ``out of free space''
 .br
 .br
-112    "incomprehensible list input"
+114    ``unit not connected''
 .br
 .br
-113    "out of free space"
+115    ``invalid data for integer format term''
 .br
 .br
-114    "unit not connected"
+116    ``invalid data for logical format term''
 .br
 .br
-115    "read unexpected character"
+117    ``'new' file exists''
 .br
 .br
-116    "blank logical input field"
+118    ``can't find 'old' file''
 .br
 .br
-117    "'new' file exists"
+119    ``opening too many files or unknown system error''
 .br
 .br
-118    "can't find 'old' file"
+120    ``requires seek ability''
 .br
 .br
-119    "unknown system error"
+121    ``illegal argument''
 .br
 .br
-120    "requires seek ability"
+122    ``negative repeat count''
 .br
 .br
-121    "illegal argument"
+123    ``illegal operation for unit''
 .br
 .br
-122    "negative repeat count"
+124    ``invalid data for d, e, f, or g format term''