From: jmc Date: Wed, 21 Jul 2010 19:53:45 +0000 (+0000) Subject: document exit values; from daniel dickman X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4c836c652e11dbd232573c85d8029a4bc3a0092e;p=openbsd document exit values; from daniel dickman --- 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 ,