summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/printf.3
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2002-08-15 09:47:10 +0000
committerrobert <robert@FreeBSD.org>2002-08-15 09:47:10 +0000
commit4accb821f18b52fbbaf0d1e140d9ad40d85a1b97 (patch)
tree93309c791a798a5bcab0fbe9d6f7ff2aaf3301e6 /lib/libc/stdio/printf.3
parent043ed1f5818681c934c1f781e5c12082c79b771c (diff)
downloadFreeBSD-src-4accb821f18b52fbbaf0d1e140d9ad40d85a1b97.zip
FreeBSD-src-4accb821f18b52fbbaf0d1e140d9ad40d85a1b97.tar.gz
- Introduce the 'restrict' qualifier to function prototypes and
definitions to comply with IEEE Std 1003.1-2001. - Update the manual pages.
Diffstat (limited to 'lib/libc/stdio/printf.3')
-rw-r--r--lib/libc/stdio/printf.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3
index ca9aae2..9a285a4 100644
--- a/lib/libc/stdio/printf.3
+++ b/lib/libc/stdio/printf.3
@@ -48,13 +48,13 @@
.Sh SYNOPSIS
.In stdio.h
.Ft int
-.Fn printf "const char *format" ...
+.Fn printf "const char *restrict format" ...
.Ft int
-.Fn fprintf "FILE *stream" "const char *format" ...
+.Fn fprintf "FILE *restrict stream" "const char *restrict format" ...
.Ft int
-.Fn sprintf "char *str" "const char *format" ...
+.Fn sprintf "char *restrict str" "const char *restrict format" ...
.Ft int
-.Fn snprintf "char *str" "size_t size" "const char *format" ...
+.Fn snprintf "char *restrict str" "size_t size" "const char *restrict format" ...
.Ft int
.Fn asprintf "char **ret" "const char *format" ...
.In stdarg.h
OpenPOWER on IntegriCloud