summaryrefslogtreecommitdiffstats
path: root/usr.bin/write
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2010-07-21 19:53:45 +0000
committerjmc <jmc@openbsd.org>2010-07-21 19:53:45 +0000
commit4c836c652e11dbd232573c85d8029a4bc3a0092e (patch)
treeafff0d24ecd925485bebd1f201f5e17df192f3b6 /usr.bin/write
parentfix the barmy exit returns formatting; from daniel dickman (diff)
downloadwireguard-openbsd-4c836c652e11dbd232573c85d8029a4bc3a0092e.tar.xz
wireguard-openbsd-4c836c652e11dbd232573c85d8029a4bc3a0092e.zip
document exit values; from daniel dickman
Diffstat (limited to 'usr.bin/write')
-rw-r--r--usr.bin/write/write.115
1 files changed, 13 insertions, 2 deletions
diff --git a/usr.bin/write/write.1 b/usr.bin/write/write.1
index 15a26a01ae8..2c4df66a292 100644
--- a/usr.bin/write/write.1
+++ b/usr.bin/write/write.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: write.1,v 1.13 2009/02/08 17:33:02 jmc Exp $
+.\" $OpenBSD: write.1,v 1.14 2010/07/21 19:53:45 jmc Exp $
.\"
.\" Copyright (c) 1989, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" from: @(#)write.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd $Mdocdate: February 8 2009 $
+.Dd $Mdocdate: July 21 2010 $
.Dt WRITE 1
.Os
.Sh NAME
@@ -94,6 +94,17 @@ The string
.Dq oo
means that the person believes the conversation to be
over.
+.Pp
+The
+.Nm
+utility exits with one of the following values:
+.Pp
+.Bl -tag -width Ds -compact -offset indent
+.It 0
+Normal behavior.
+.It \*(Gt0
+The specified user is either not logged in or not accepting messages.
+.El
.Sh SEE ALSO
.Xr mesg 1 ,
.Xr talk 1 ,