From 043ed1f5818681c934c1f781e5c12082c79b771c Mon Sep 17 00:00:00 2001 From: robert Date: Thu, 15 Aug 2002 09:25:04 +0000 Subject: - Add the 'restrict' qualifier to the function prototypes and definitions of the functions that convert strings to numbers and are defined by IEEE Std 1003-1.2001. - Use ANSI-C function definitions for all of the functions mentioned above plus strtouq and strtoq. - Update the prototypes in the manual pages. --- lib/libc/stdlib/strtoul.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libc/stdlib/strtoul.3') diff --git a/lib/libc/stdlib/strtoul.3 b/lib/libc/stdlib/strtoul.3 index 3eb602e..dae6c13 100644 --- a/lib/libc/stdlib/strtoul.3 +++ b/lib/libc/stdlib/strtoul.3 @@ -52,12 +52,12 @@ integer .In stdlib.h .In limits.h .Ft "unsigned long" -.Fn strtoul "const char *nptr" "char **endptr" "int base" +.Fn strtoul "const char *restrict nptr" "char **restrict endptr" "int base" .Ft "unsigned long long" -.Fn strtoull "const char *nptr" "char **endptr" "int base" +.Fn strtoull "const char *restrict nptr" "char **restrict endptr" "int base" .In inttypes.h .Ft uintmax_t -.Fn strtoumax "const char *nptr" "char **endptr" "int base" +.Fn strtoumax "const char *restrict nptr" "char **restrict endptr" "int base" .In sys/types.h .In stdlib.h .In limits.h -- cgit v1.1