QUIT
Section: C Library Functions (3)
Updated: 3/20/81
Index
Return to Main Contents
NAME
quit - print message and exit
SYNOPSIS
quit (status, format
[, arg ] ...
)
int status;
char *format;
DESCRIPTION
quit
is a means of terminating a process with an error message.
This call should never return.
quit
prints on standard error the message specified by the
printf(3)
argument list
format [, arg]...
then exits.
The first argument,
status,
will be the argument passed to
exit(2)
and this is the process's return code.
All of the process's files will be closed.
SEE ALSO
printf(3),
exit(2),
wait(2)
HISTORY
- 13-Nov-86 Andi Swimmer (andi) at Carnegie-Mellon University
-
Revised for 4.3.
- 20-Mar-81 Dale Moore (dwm) at Carnegie-Mellon University
-
Changed to call
_doprnt
instead of
fprintf.
- 06-Dec-79 Steven Shafer (sas) at Carnegie-Mellon University
-
Created.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- HISTORY
-
This document was created by
man2html,
using the manual pages.
Time: 17:22:16 GMT, March 25, 2025