Adapted to current situation

This commit is contained in:
ceriel 1987-03-02 13:30:52 +00:00
parent 27a779e535
commit b457c3dc09
3 changed files with 17 additions and 19 deletions

View file

@ -1,5 +1,5 @@
.\" $Header$
.TH LIBMON VII
.TH LIBMON 7ACK
.ad
.SH NAME
libmon \- library of system call routines with EM calling sequence
@ -50,7 +50,7 @@ can be declared as:
creatmode = set of XHIM..SUID;
.IP -
There are special system call routines \fIuread\fP and \fIuwrite\fP
in libpc(VII),
in libpc(7),
because the names \fIread\fP and \fIwrite\fP
are blocked by similar functions in Pascal.
.PP
@ -85,10 +85,10 @@ signal number is specified.
Only the signal numbers 1, 2, 3, 13, 14, 15 and 16 may be used as argument
for \fIsigtrp\fP.
.SH FILES
.IP /usr/em/mach/*/lib/tail_mon
.IP ~em/lib/*/tail_mon
.PD
.SH "SEE ALSO"
em(I), ack(I), *(II), libpc(VII)
em(1), ack(1), *(2), libpc(7)
.SH DIAGNOSTICS
All routines put the UNIX error code in the global variable \fIerrno\fP.
Errno is not cleared by successful system calls, so it always gives

View file

@ -1,5 +1,5 @@
.\" $Header$
.TH LIBPC VII
.TH LIBPC 7ACK
.ad
.SH NAME
libpc \- library of external routines for Pascal programs
@ -181,7 +181,7 @@ because the previous trap handler must be restored.
Therefore, you may only jump out of procedure \fIp\fP from inside \fIq\fP and
you may only jump out of one level of encapsulation.
If you want to exit several levels of encapsulation, use traps.
See pc_emlib(VII) and pc_prlib(VII) for lists of trap numbers
See pc_prlib(7) for lists of trap numbers
for EM machine errors and Pascal run time system errors.
Note that \fIp\fP may not have parameters.
.PD
@ -190,13 +190,13 @@ Note that \fIp\fP may not have parameters.
UNIX system calls:
.RS
The routines of this category require global variables or routines
of the monitor library libmon(VII).
of the monitor library libmon(7).
.IP uread 10
Equal to the read system call.
Its normal name is blocked by the standard Pascal routine read.
.PD 0
.IP uwrite
As above but for write(II).
As above but for write(2).
.IP perrno
Because external data references are not possible in Pascal,
this routine returns the global variable errno, indicating the result of
@ -212,7 +212,7 @@ Return the number of ticks of user and system time consumed by the program.
.PP
.RE
The following program presents an example of how these routines can be used.
This program is equivalent to the UNIX command cat(I).
This program is equivalent to the UNIX command cat(1).
.nf
{$c+}
program cat(input,inp,output);
@ -281,10 +281,10 @@ Another example gives some idea of the way to manage trap handling:
end.
.fi
.SH FILES
.IP /usr/em/mach/*/lib/tail_pc 20
.IP ~em/lib/*/tail_pc 20
.PD
.SH "SEE ALSO"
ack(I), pc_pem(VI), pc_prlib(VII), libmon(VII)
ack(1), pc_pem(6), pc_prlib(7), libmon(7)
.SH DIAGNOSTICS
Two routines may cause fatal error messages to be generated.
These are:

View file

@ -1,5 +1,5 @@
.\" $Header$
.TH PC_PRLIB VII
.TH PC_PRLIB 7ACK
.ad
.SH NAME
pc_prlib \- library of Pascal runtime routines
@ -653,9 +653,9 @@ error message can access the file name.
Used to access the arguments of the main program.
.PD
.SH FILES
.IP /usr/em/lib/mach/*/lib/tail_pc 20
.IP ~em/lib/*/tail_pc 20
The library used by ack[5] to link programs.
.IP /usr/em/etc/pc_rterrors
.IP ~em/etc/pc_rterrors
The error messages
.PD
.SH "SEE ALSO"
@ -673,9 +673,9 @@ ISO/TC97/SC5-N462, received November 1979.
.IP [4]
Ed Keizer, "The Amsterdam Compiler Kit reference manual".
.br
(try \fInroff /usr/emi/doc/pcref.doc\fP).
(try \fInroff ~em/doc/pcref.doc\fP).
.IP [5]
ack(I), pc_pem(VI)
ack(1), pc_pem(6)
.PD
.SH DIAGNOSTICS
All errors discovered by this runtime system cause an EM TRP instruction
@ -687,7 +687,7 @@ an EM machine trap or a language or user defined trap occurs.
One of the first actions in _ini is to specify that the routine _fatal,
available in this library, will handle traps.
This routine is called with an error code (0..252) as argument.
The file "/usr/em/etc/pc_rterrors" is opened and searched for a message
The file "~em/etc/pc_rterrors" is opened and searched for a message
corresponding with this number.
If the file can not be opened, or if the error number is not recorded
in the file, then the same trap is generated again, but without
@ -758,5 +758,3 @@ file xxx: non-ASCII char read
.PP
.SH AUTHORS
Johan Stevenson and Ard Verhoog, Vrije Universiteit.
.SH BUGS
Please report bugs to the authors.