summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordenny <denny@cvs.openbsd.org>1997-08-19 06:36:31 +0000
committerdenny <denny@cvs.openbsd.org>1997-08-19 06:36:31 +0000
commit1bc21344d855aff510a4a72985b243a48bd300c2 (patch)
tree7b1265bf85bbec16d662a1a2ea7a744a550272ca
parent3c662dfd6d37ed4e8aededed48485ddb7ca178b0 (diff)
Note return code >2 if malloc fails (POSIX spec behavior).
-rw-r--r--bin/expr/expr.14
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/expr/expr.1 b/bin/expr/expr.1
index 037f7beb218..5def49de951 100644
--- a/bin/expr/expr.1
+++ b/bin/expr/expr.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: expr.1,v 1.2 1996/06/23 14:20:09 deraadt Exp $
+.\" $OpenBSD: expr.1,v 1.3 1997/08/19 06:36:30 denny Exp $
.\" $NetBSD: expr.1,v 1.9 1995/04/28 23:27:13 jtc Exp $
.\"
.\" Written by J.T. Conklin <jtc@netbsd.org>.
@@ -98,6 +98,8 @@ the expression is neither an empty string nor 0.
the expression is an empty string or 0.
.It 2
the expression is invalid.
+.It >2
+an error occurred (such as memory allocation failure).
.El
.Sh STANDARDS
The