diff options
| author | kleink <kleink@NetBSD.org> | 2001-03-21 22:42:28 +0000 |
|---|---|---|
| committer | kleink <kleink@NetBSD.org> | 2001-03-21 22:42:28 +0000 |
| commit | 77fbd9fe1cdfe6a8bcebcab26bd92711953ab42c (patch) | |
| tree | 2e196141f1a5bc734e6d8bc5aa4d34a379dfad66 /lib/libc/stdlib | |
| parent | 723cd818d8f1cf79609a594145b5619fa4523e35 (diff) | |
Sprinkle some restrict qualifiers.
Diffstat (limited to 'lib/libc/stdlib')
| -rw-r--r-- | lib/libc/stdlib/strtod.3 | 6 | ||||
| -rw-r--r-- | lib/libc/stdlib/strtol.3 | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/stdlib/strtod.3 b/lib/libc/stdlib/strtod.3 index 38612db1de8..419a0989219 100644 --- a/lib/libc/stdlib/strtod.3 +++ b/lib/libc/stdlib/strtod.3 @@ -1,4 +1,4 @@ -.\" $NetBSD: strtod.3,v 1.8 1999/03/09 19:45:09 erh Exp $ +.\" $NetBSD: strtod.3,v 1.9 2001/03/21 22:42:29 kleink Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -37,7 +37,7 @@ .\" .\" from: @(#)strtod.3 8.1 (Berkeley) 6/4/93 .\" -.Dd June 4, 1993 +.Dd March 21, 2001 .Dt STRTOD 3 .Os .Sh NAME @@ -50,7 +50,7 @@ string to double .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft double -.Fn strtod "const char *nptr" "char **endptr" +.Fn strtod "const char * restrict nptr" "char ** restrict endptr" .Sh DESCRIPTION The .Fn strtod diff --git a/lib/libc/stdlib/strtol.3 b/lib/libc/stdlib/strtol.3 index daa5f765e89..33de3b945c3 100644 --- a/lib/libc/stdlib/strtol.3 +++ b/lib/libc/stdlib/strtol.3 @@ -1,4 +1,4 @@ -.\" $NetBSD: strtol.3,v 1.12 2000/03/16 04:57:11 enami Exp $ +.\" $NetBSD: strtol.3,v 1.13 2001/03/21 22:42:29 kleink Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -37,7 +37,7 @@ .\" .\" from: @(#)strtol.3 8.1 (Berkeley) 6/4/93 .\" -.Dd March 6, 2000 +.Dd March 21, 2001 .Dt STRTOL 3 .Os .Sh NAME @@ -51,15 +51,15 @@ .Fd #include <stdlib.h> .Fd #include <limits.h> .Ft long int -.Fn strtol "const char *nptr" "char **endptr" "int base" +.Fn strtol "const char * restrict nptr" "char ** restrict endptr" "int base" .Ft long long int -.Fn strtoll "const char *nptr" "char **endptr" "int base" +.Fn strtoll "const char * restrict nptr" "char ** restrict endptr" "int base" .Fd #include <sys/types.h> .Fd #include <stdlib.h> .Fd #include <limits.h> .Ft quad_t -.Fn strtoq "const char *nptr" "char **endptr" "int base" +.Fn strtoq "const char * restrict nptr" "char ** restrict endptr" "int base" .Sh DESCRIPTION The .Fn strtol |
