diff options
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r-- | lib/libc/stdio/fgetws.3 | 2 | ||||
-rw-r--r-- | lib/libc/stdio/fgetws.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/fprintf.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/fputws.3 | 2 | ||||
-rw-r--r-- | lib/libc/stdio/fputws.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/printf.3 | 16 | ||||
-rw-r--r-- | lib/libc/stdio/printf.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/setbuf.3 | 4 | ||||
-rw-r--r-- | lib/libc/stdio/setbuf.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/setvbuf.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/snprintf.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/sprintf.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/vfprintf.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/vprintf.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/vsnprintf.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/vsprintf.c | 2 |
16 files changed, 24 insertions, 24 deletions
diff --git a/lib/libc/stdio/fgetws.3 b/lib/libc/stdio/fgetws.3 index 5ccd4fe..ae737cf 100644 --- a/lib/libc/stdio/fgetws.3 +++ b/lib/libc/stdio/fgetws.3 @@ -49,7 +49,7 @@ .In stdio.h .In wchar.h .Ft "wchar_t *" -.Fn fgetws "wchar_t *restrict ws" "int n" "FILE *restrict fp" +.Fn fgetws "wchar_t * restrict ws" "int n" "FILE * restrict fp" .Sh DESCRIPTION The .Fn fgetws diff --git a/lib/libc/stdio/fgetws.c b/lib/libc/stdio/fgetws.c index 2cfd4e3..9d456a1 100644 --- a/lib/libc/stdio/fgetws.c +++ b/lib/libc/stdio/fgetws.c @@ -37,7 +37,7 @@ __FBSDID("$FreeBSD$"); #include "local.h" wchar_t * -fgetws(wchar_t *__restrict ws, int n, FILE *__restrict fp) +fgetws(wchar_t * __restrict ws, int n, FILE * __restrict fp) { wchar_t *wsp; long r; diff --git a/lib/libc/stdio/fprintf.c b/lib/libc/stdio/fprintf.c index 4232cc7..27b8222 100644 --- a/lib/libc/stdio/fprintf.c +++ b/lib/libc/stdio/fprintf.c @@ -44,7 +44,7 @@ __FBSDID("$FreeBSD$"); #include <stdarg.h> int -fprintf(FILE *__restrict fp, const char *__restrict fmt, ...) +fprintf(FILE * __restrict fp, const char * __restrict fmt, ...) { int ret; va_list ap; diff --git a/lib/libc/stdio/fputws.3 b/lib/libc/stdio/fputws.3 index e9908e6..e6b32a1 100644 --- a/lib/libc/stdio/fputws.3 +++ b/lib/libc/stdio/fputws.3 @@ -49,7 +49,7 @@ .In stdio.h .In wchar.h .Ft int -.Fn fputws "const wchar_t *restrict ws" "FILE *restrict fp" +.Fn fputws "const wchar_t * restrict ws" "FILE * restrict fp" .Sh DESCRIPTION The .Fn fputws diff --git a/lib/libc/stdio/fputws.c b/lib/libc/stdio/fputws.c index 3cf5299..312d02a 100644 --- a/lib/libc/stdio/fputws.c +++ b/lib/libc/stdio/fputws.c @@ -37,7 +37,7 @@ __FBSDID("$FreeBSD$"); #include "local.h" int -fputws(const wchar_t *__restrict ws, FILE *__restrict fp) +fputws(const wchar_t * __restrict ws, FILE * __restrict fp) { ORIENTLOCK(fp, 1); diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index 2ff7e2d..7fde56a 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -48,24 +48,24 @@ .Sh SYNOPSIS .In stdio.h .Ft int -.Fn printf "const char *restrict format" ... +.Fn printf "const char * restrict format" ... .Ft int -.Fn fprintf "FILE *restrict stream" "const char *restrict format" ... +.Fn fprintf "FILE * restrict stream" "const char * restrict format" ... .Ft int -.Fn sprintf "char *restrict str" "const char *restrict format" ... +.Fn sprintf "char * restrict str" "const char * restrict format" ... .Ft int -.Fn snprintf "char *restrict str" "size_t size" "const char *restrict 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 .Ft int -.Fn vprintf "const char *restrict format" "va_list ap" +.Fn vprintf "const char * restrict format" "va_list ap" .Ft int -.Fn vfprintf "FILE *restrict stream" "const char *restrict format" "va_list ap" +.Fn vfprintf "FILE * restrict stream" "const char * restrict format" "va_list ap" .Ft int -.Fn vsprintf "char *restrict str" "const char *restrict format" "va_list ap" +.Fn vsprintf "char * restrict str" "const char * restrict format" "va_list ap" .Ft int -.Fn vsnprintf "char *restrict str" "size_t size" "const char *restrict 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 diff --git a/lib/libc/stdio/printf.c b/lib/libc/stdio/printf.c index 1aa2767..cfd10d0 100644 --- a/lib/libc/stdio/printf.c +++ b/lib/libc/stdio/printf.c @@ -44,7 +44,7 @@ __FBSDID("$FreeBSD$"); #include <stdarg.h> int -printf(char const *__restrict fmt, ...) +printf(char const * __restrict fmt, ...) { int ret; va_list ap; diff --git a/lib/libc/stdio/setbuf.3 b/lib/libc/stdio/setbuf.3 index bfe6487..cb16fa3 100644 --- a/lib/libc/stdio/setbuf.3 +++ b/lib/libc/stdio/setbuf.3 @@ -50,13 +50,13 @@ .Sh SYNOPSIS .In stdio.h .Ft void -.Fn setbuf "FILE *restrict stream" "char *restrict buf" +.Fn setbuf "FILE * restrict stream" "char * restrict buf" .Ft void .Fn setbuffer "FILE *stream" "char *buf" "int size" .Ft int .Fn setlinebuf "FILE *stream" .Ft int -.Fn setvbuf "FILE *restrict stream" "char *restrict buf" "int mode" "size_t size" +.Fn setvbuf "FILE * restrict stream" "char * restrict buf" "int mode" "size_t size" .Sh DESCRIPTION The three types of buffering available are unbuffered, block buffered, and line buffered. diff --git a/lib/libc/stdio/setbuf.c b/lib/libc/stdio/setbuf.c index a1edef4..348104c 100644 --- a/lib/libc/stdio/setbuf.c +++ b/lib/libc/stdio/setbuf.c @@ -44,7 +44,7 @@ __FBSDID("$FreeBSD$"); #include "local.h" void -setbuf(FILE *__restrict fp, char *__restrict buf) +setbuf(FILE * __restrict fp, char * __restrict buf) { (void) setvbuf(fp, buf, buf ? _IOFBF : _IONBF, BUFSIZ); } diff --git a/lib/libc/stdio/setvbuf.c b/lib/libc/stdio/setvbuf.c index 8be8ff6..7ab91e5 100644 --- a/lib/libc/stdio/setvbuf.c +++ b/lib/libc/stdio/setvbuf.c @@ -52,7 +52,7 @@ __FBSDID("$FreeBSD$"); * a buffer. */ int -setvbuf(FILE *__restrict fp, char *__restrict buf, int mode, size_t size) +setvbuf(FILE * __restrict fp, char * __restrict buf, int mode, size_t size) { int ret, flags; size_t iosize; diff --git a/lib/libc/stdio/snprintf.c b/lib/libc/stdio/snprintf.c index c053ec9..ee5219e 100644 --- a/lib/libc/stdio/snprintf.c +++ b/lib/libc/stdio/snprintf.c @@ -47,7 +47,7 @@ __FBSDID("$FreeBSD$"); #include "local.h" int -snprintf(char *__restrict str, size_t n, char const *__restrict fmt, ...) +snprintf(char * __restrict str, size_t n, char const * __restrict fmt, ...) { size_t on; int ret; diff --git a/lib/libc/stdio/sprintf.c b/lib/libc/stdio/sprintf.c index 71279ba..cf1587f 100644 --- a/lib/libc/stdio/sprintf.c +++ b/lib/libc/stdio/sprintf.c @@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$"); #include "local.h" int -sprintf(char *__restrict str, char const *__restrict fmt, ...) +sprintf(char * __restrict str, char const * __restrict fmt, ...) { int ret; va_list ap; diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c index 1802fc7..ed0c419 100644 --- a/lib/libc/stdio/vfprintf.c +++ b/lib/libc/stdio/vfprintf.c @@ -332,7 +332,7 @@ __ujtoa(uintmax_t val, char *endp, int base, int octzero, char *xdigs, * MT-safe version */ int -vfprintf(FILE *__restrict fp, const char *__restrict fmt0, va_list ap) +vfprintf(FILE * __restrict fp, const char * __restrict fmt0, va_list ap) { int ret; diff --git a/lib/libc/stdio/vprintf.c b/lib/libc/stdio/vprintf.c index 253870c..15c3241 100644 --- a/lib/libc/stdio/vprintf.c +++ b/lib/libc/stdio/vprintf.c @@ -43,7 +43,7 @@ __FBSDID("$FreeBSD$"); #include <stdio.h> int -vprintf(const char *__restrict fmt, __va_list ap) +vprintf(const char * __restrict fmt, __va_list ap) { return (vfprintf(stdout, fmt, ap)); diff --git a/lib/libc/stdio/vsnprintf.c b/lib/libc/stdio/vsnprintf.c index 7f18c83..ecbce5a 100644 --- a/lib/libc/stdio/vsnprintf.c +++ b/lib/libc/stdio/vsnprintf.c @@ -45,7 +45,7 @@ __FBSDID("$FreeBSD$"); #include "local.h" int -vsnprintf(char *__restrict str, size_t n, const char *__restrict fmt, +vsnprintf(char * __restrict str, size_t n, const char * __restrict fmt, __va_list ap) { size_t on; diff --git a/lib/libc/stdio/vsprintf.c b/lib/libc/stdio/vsprintf.c index 82e6297..b3150e5 100644 --- a/lib/libc/stdio/vsprintf.c +++ b/lib/libc/stdio/vsprintf.c @@ -45,7 +45,7 @@ __FBSDID("$FreeBSD$"); #include "local.h" int -vsprintf(char *__restrict str, const char *__restrict fmt, __va_list ap) +vsprintf(char * __restrict str, const char * __restrict fmt, __va_list ap) { int ret; FILE f; |