summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/printf.3
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2002-08-15 10:28:52 +0000
committerrobert <robert@FreeBSD.org>2002-08-15 10:28:52 +0000
commiteef3b2f04b44c29988bf983329b47c006d27c63d (patch)
tree489a3958750fd27896cde415ed639eae393d181d /lib/libc/stdio/printf.3
parent4accb821f18b52fbbaf0d1e140d9ad40d85a1b97 (diff)
downloadFreeBSD-src-eef3b2f04b44c29988bf983329b47c006d27c63d.zip
FreeBSD-src-eef3b2f04b44c29988bf983329b47c006d27c63d.tar.gz
- For compliance with IEEE Std 1003.1-2001, add the 'restrict'
qualifier to function prototypes and definitions where appropriate using the '__restrict' macro. - Update the manual page.
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 9a285a4..2ff7e2d 100644
--- a/lib/libc/stdio/printf.3
+++ b/lib/libc/stdio/printf.3
@@ -59,13 +59,13 @@
.Fn asprintf "char **ret" "const char *format" ...
.In stdarg.h
.Ft int
-.Fn vprintf "const char *format" "va_list ap"
+.Fn vprintf "const char *restrict format" "va_list ap"
.Ft int
-.Fn vfprintf "FILE *stream" "const char *format" "va_list ap"
+.Fn vfprintf "FILE *restrict stream" "const char *restrict format" "va_list ap"
.Ft int
-.Fn vsprintf "char *str" "const char *format" "va_list ap"
+.Fn vsprintf "char *restrict str" "const char *restrict format" "va_list ap"
.Ft int
-.Fn vsnprintf "char *str" "size_t size" "const char *format" "va_list ap"
+.Fn vsnprintf "char *restrict str" "size_t size" "const char *restrict format" "va_list ap"
.Ft int
.Fn vasprintf "char **ret" "const char *format" "va_list ap"
.Sh DESCRIPTION
OpenPOWER on IntegriCloud