summaryrefslogtreecommitdiff
path: root/usr.bin/write/write.1
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2010-07-21 19:53:46 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2010-07-21 19:53:46 +0000
commit5ff42f26a8fc8ad5a0160eb57292b899c364ed76 (patch)
treeeb5ed5dbb4c857a66d44409a14bd94d32c9126c7 /usr.bin/write/write.1
parent7b0c95941a4313dca3639bac40f24e4c0930041e (diff)
document exit values; from daniel dickman
Diffstat (limited to 'usr.bin/write/write.1')
-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 ,