summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2009-06-12 16:28:50 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2009-06-12 16:28:50 +0000
commit34990b33a11d8f98c4a3be48b59530a073e5aa1a (patch)
treec9eab8080dc6203aed415a4be1ecd7b3080b9043 /lib/libc
parentac0a6e85098cab1f86db77c3e96ac15ee76253c4 (diff)
YP client functions do not allocate memory when they fail;
wording tweaked by jmc@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/yp/ypclnt.37
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/yp/ypclnt.3 b/lib/libc/yp/ypclnt.3
index 997ee3c1a43..4330b50b430 100644
--- a/lib/libc/yp/ypclnt.3
+++ b/lib/libc/yp/ypclnt.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ypclnt.3,v 1.21 2009/06/04 21:02:33 schwarze Exp $
+.\" $OpenBSD: ypclnt.3,v 1.22 2009/06/12 16:28:49 schwarze Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 4 2009 $
+.Dd $Mdocdate: June 12 2009 $
.Dt YPCLNT 3
.Os
.Sh NAME
@@ -87,7 +87,8 @@ and output values begin with
Any output values of type
.Em char **
should be the addresses of uninitialized character pointers.
-Memory will be allocated by the YP client routines using
+Only if a call succeeds will memory be allocated by the YP client routines
+using
.Fn malloc .
This memory can later be freed by the user if there is no additional need for
the data stored there.