summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-07-08 17:25:55 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-07-08 17:25:55 +0000
commitd63a5f8ef76b24c738525f9694418531d26407f3 (patch)
tree5b3db690d895872b19d28d82883f9c63cce213b2 /lib/libc
parent9a9d79955e3c62187b63beee8a717a07d15f9f2b (diff)
Don't tell people to cast NULL to a specific pointer type.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/setbuf.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/setbuf.3 b/lib/libc/stdio/setbuf.3
index 2593443a930..6d35565bdc4 100644
--- a/lib/libc/stdio/setbuf.3
+++ b/lib/libc/stdio/setbuf.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setbuf.3,v 1.2 1996/08/19 08:33:04 tholo Exp $
+.\" $OpenBSD: setbuf.3,v 1.3 1997/07/08 17:25:54 millert Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -155,7 +155,7 @@ The
function
is exactly equivalent to the call:
.Pp
-.Dl "setvbuf(stream, (char *)NULL, _IOLBF, 0);"
+.Dl "setvbuf(stream, NULL, _IOLBF, 0);"
.Sh RETURN VALUES
The
.Fn setvbuf