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)
BUGS
The implementation of
quit
depends on a routine named
_doprnt.
Although
fprintf
and
printf
on Vax and PDP11
UNIX are implemented with this routine,
other UNIX systems might not implement them this way.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- BUGS
-
This document was created by
man2html,
using the manual pages.
Time: 11:12:47 GMT, November 04, 2022