Added exit values

This commit is contained in:
Gitea 2020-12-11 07:28:34 -06:00
parent 0ed15dd266
commit debd2b3b3f

11
tee.1
View file

@ -17,6 +17,17 @@ Append output to files, rather than clobbering existing files.
.BR \-i .BR \-i
Ignore SIGINT (^C). If you use this, use Ctrl-D (^D) to send an Ignore SIGINT (^C). If you use this, use Ctrl-D (^D) to send an
EOF in order to exit! EOF in order to exit!
.SH EXIT STATUS
The following exit values are returned:
.TP
.BR 0
The program successfully wrote all files.
.TP
.BR 1
Could not open or create a file.
.TP
.BR 2
Failed to write to one or more files.
.SH AUTHOR .SH AUTHOR
Written by Kat. Written by Kat.
.SH COPYRIGHT .SH COPYRIGHT