DataMuseum.dk

Presents historical artifacts from the history of:

ICL Comet 32

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about ICL Comet 32

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦c4f1ffda5⟧ TextFile

    Length: 802 (0x322)
    Types: TextFile
    Notes: UNIX file
    Names: »exit.2«

Derivation

└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
    └─⟦28c352965⟧ »/a« UNIX Filesystem
        └─⟦this⟧ »usr/man/man2/exit.2« 

TextFile

.ig
	@(#)exit.2	2.1	7/1/84
	@(#)Copyright (C) 1983 by National Semiconductor Corp.
..
.TH EXIT 2 
.UC 4
.SH NAME
exit \- terminate process
.SH SYNOPSIS
.nf
.B exit(status)
.B int status;
.PP
.B _exit(status)
.B int status;
.fi
.SH DESCRIPTION
.I Exit
is the normal means of terminating a process.
.I Exit
closes all the process's files and notifies the parent process
if it is executing a
.IR wait .
The low-order 8 bits of 
.I status
are available to the parent process.
.PP
This call can never return.
.PP
The C function
.I exit
may cause cleanup actions before the
final `sys exit'.
The function
.I _exit
circumvents all cleanup, and should be used to terminate a child
process after a
.IR fork (2)
or
.IR vfork (2)
to avoid flushing buffered output twice.
.SH "SEE ALSO"
fork(2), vfork(2), wait(2)