summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fopen.3
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2003-04-22 18:29:09 +0000
committermillert <millert@openbsd.org>2003-04-22 18:29:09 +0000
commit1702bcc02bc284fb4768109b83256fe17a8fd6cb (patch)
tree930b9df26febda86822039fc6e32b88f041b305c /lib/libc/stdio/fopen.3
parentport numbers are unsigned. use %u. from kame (diff)
downloadwireguard-openbsd-1702bcc02bc284fb4768109b83256fe17a8fd6cb.tar.xz
wireguard-openbsd-1702bcc02bc284fb4768109b83256fe17a8fd6cb.zip
char * in prototypes should be const; Kamo Hiroyasu
Diffstat (limited to 'lib/libc/stdio/fopen.3')
-rw-r--r--lib/libc/stdio/fopen.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3
index ce2dbff7c07..728aef4a961 100644
--- a/lib/libc/stdio/fopen.3
+++ b/lib/libc/stdio/fopen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fopen.3,v 1.14 2003/03/06 20:48:35 jmc Exp $
+.\" $OpenBSD: fopen.3,v 1.15 2003/04/22 18:29:09 millert Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -46,11 +46,11 @@
.Sh SYNOPSIS
.Fd #include <stdio.h>
.Ft FILE *
-.Fn fopen "char *path" "char *mode"
+.Fn fopen "const char *path" "const char *mode"
.Ft FILE *
-.Fn fdopen "int fildes" "char *mode"
+.Fn fdopen "int fildes" "const char *mode"
.Ft FILE *
-.Fn freopen "char *path" "char *mode" "FILE *stream"
+.Fn freopen "const char *path" "const char *mode" "FILE *stream"
.Sh DESCRIPTION
The
.Fn fopen