diff options
author | 2003-04-25 20:49:35 +0000 | |
---|---|---|
committer | 2003-04-25 20:49:35 +0000 | |
commit | 230259e7a1bae975cb0fff3d3096ca2fb8b9a67d (patch) | |
tree | 2bbb78513778dfc9a7a15ce4b30ca89d70e0305c /lib/libc/stdio/funopen.3 | |
parent | mquery backout sync. (diff) | |
download | wireguard-openbsd-230259e7a1bae975cb0fff3d3096ca2fb8b9a67d.tar.xz wireguard-openbsd-230259e7a1bae975cb0fff3d3096ca2fb8b9a67d.zip |
Make function declaration and man page match prototype. Closes PR 3236
Diffstat (limited to 'lib/libc/stdio/funopen.3')
-rw-r--r-- | lib/libc/stdio/funopen.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdio/funopen.3 b/lib/libc/stdio/funopen.3 index 076ccc90162..861e7415732 100644 --- a/lib/libc/stdio/funopen.3 +++ b/lib/libc/stdio/funopen.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: funopen.3,v 1.9 2000/04/20 01:39:32 aaron Exp $ +.\" $OpenBSD: funopen.3,v 1.10 2003/04/25 20:49:35 millert Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -44,11 +44,11 @@ .Sh SYNOPSIS .Fd #include <stdio.h> .Ft FILE * -.Fn funopen "void *cookie" "int (*readfn)(void *, char *, int)" "int (*writefn)(void *, const char *, int)" "fpos_t (*seekfn)(void *, fpos_t, int)" "int (*closefn)(void *)" +.Fn funopen "const void *cookie" "int (*readfn)(void *, char *, int)" "int (*writefn)(void *, const char *, int)" "fpos_t (*seekfn)(void *, fpos_t, int)" "int (*closefn)(void *)" .Ft FILE * -.Fn fropen "void *cookie" "int (*readfn)(void *, char *, int)" +.Fn fropen "const void *cookie" "int (*readfn)(void *, char *, int)" .Ft FILE * -.Fn fwopen "void *cookie" "int (*writefn)(void *, const char *, int)" +.Fn fwopen "const void *cookie" "int (*writefn)(void *, const char *, int)" .Sh DESCRIPTION The .Fn funopen |