Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/lib/libc/stdio Pull up revision 1.23 (requested by kleink...



details:   https://anonhg.NetBSD.org/src/rev/2feb6a744ff1
branches:  netbsd-3
changeset: 575916:2feb6a744ff1
user:      tron <tron%NetBSD.org@localhost>
date:      Sat May 28 13:39:32 2005 +0000

description:
Pull up revision 1.23 (requested by kleink in ticket #344):
Add restrict qualifiers to fopen()/freopen() arguments.

diffstat:

 lib/libc/stdio/fopen.3 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 99bbd5db2f2a -r 2feb6a744ff1 lib/libc/stdio/fopen.3
--- a/lib/libc/stdio/fopen.3    Sat May 28 13:39:25 2005 +0000
+++ b/lib/libc/stdio/fopen.3    Sat May 28 13:39:32 2005 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: fopen.3,v 1.22 2003/08/07 16:43:24 agc Exp $
+.\"    $NetBSD: fopen.3,v 1.22.6.1 2005/05/28 13:39:32 tron Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -46,11 +46,11 @@
 .Sh SYNOPSIS
 .In stdio.h
 .Ft FILE *
-.Fn fopen "const char *path" "const char *mode"
+.Fn fopen "const char * restrict path" "const char * restrict mode"
 .Ft FILE *
 .Fn fdopen "int fildes" "const char *mode"
 .Ft FILE *
-.Fn freopen "const char *path" "const char *mode" "FILE * restrict stream"
+.Fn freopen "const char * restrict path" "const char * restrict mode" "FILE * restrict stream"
 .Sh DESCRIPTION
 The
 .Fn fopen



Home | Main Index | Thread Index | Old Index