X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/3d9156a7a519a5e3aa1b92e9d9d4b991f1aed7ff..e07eda1a0324f771bb1ed20ef94f3229005ee46c:/stdio/printf_l.3 diff --git a/stdio/printf_l.3 b/stdio/printf_l.3 index aa3c1c1..9ac0bcd 100644 --- a/stdio/printf_l.3 +++ b/stdio/printf_l.3 @@ -36,12 +36,22 @@ .\" @(#)printf.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD: src/lib/libc/stdio/printf.3,v 1.58 2004/10/16 16:00:01 stefanf Exp $ .\" -.Dd March 11, 2005 +.Dd December 15, 2009 .Dt PRINTF_L 3 .Os .Sh NAME -.Nm printf_l , fprintf_l , sprintf_l , snprintf_l , asprintf_l , -.Nm vprintf_l , vfprintf_l , vsprintf_l , vsnprintf_l , vasprintf_l +.Nm asprintf_l , +.Nm dprintf_l , +.Nm fprintf_l , +.Nm printf_l , +.Nm snprintf_l , +.Nm sprintf_l , +.Nm vasprintf_l , +.Nm vdprintf_l , +.Nm vfprintf_l , +.Nm vprintf_l , +.Nm vsnprintf_l , +.Nm vsprintf_l .Nd formatted output conversion .Sh LIBRARY .Lb libc @@ -49,34 +59,101 @@ .In stdio.h .In xlocale.h .Ft int -.Fn printf_l "locale_t loc" "const char * restrict format" ... +.Fo asprintf_l +.Fa "char **ret" +.Fa "locale_t loc" +.Fa "const char *format" +.Fa ... +.Fc .Ft int -.Fn fprintf_l "FILE * restrict stream" "locale_t loc" "const char * restrict format" ... +.Fo dprintf_l +.Fa "int fd" +.Fa "locale_t loc" +.Fa "const char * restrict format" +.Fa ... +.Fc .Ft int -.Fn sprintf_l "char * restrict str" "locale_t loc" "const char * restrict format" ... +.Fo fprintf_l +.Fa "FILE * restrict stream" +.Fa "locale_t loc" +.Fa "const char * restrict format" +.Fa ... +.Fc .Ft int -.Fn snprintf_l "char * restrict str" "size_t size" "locale_t loc" "const char * restrict format" ... +.Fo printf_l +.Fa "locale_t loc" +.Fa "const char * restrict format" +.Fa ... +.Fc .Ft int -.Fn asprintf_l "char **ret" "locale_t loc" "const char *format" ... +.Fo snprintf_l +.Fa "char * restrict str" +.Fa "size_t size" +.Fa "locale_t loc" +.Fa "const char * restrict format" +.Fa ... +.Fc +.Ft int +.Fo sprintf_l +.Fa "char * restrict str" +.Fa "locale_t loc" +.Fa "const char * restrict format" +.Fa ... +.Fc .In stdarg.h +.In xlocale.h +.Ft int +.Fo vasprintf_l +.Fa "char **ret" +.Fa "locale_t loc" +.Fa "const char *format" +.Fa "va_list ap" +.Fc .Ft int -.Fn vprintf_l "locale_t loc" "const char * restrict format" "va_list ap" +.Fo vdprintf_l +.Fa "int fd" +.Fa "locale_t loc" +.Fa "const char * restrict format" +.Fa "va_list ap" +.Fc .Ft int -.Fn vfprintf_l "FILE * restrict stream" "locale_t loc" "const char * restrict format" "va_list ap" +.Fo vfprintf_l +.Fa "FILE * restrict stream" +.Fa "locale_t loc" +.Fa "const char * restrict format" +.Fa "va_list ap" +.Fc .Ft int -.Fn vsprintf_l "char * restrict str" "locale_t loc" "const char * restrict format" "va_list ap" +.Fo vprintf_l +.Fa "locale_t loc" +.Fa "const char * restrict format" +.Fa "va_list ap" +.Fc .Ft int -.Fn vsnprintf_l "char * restrict str" "size_t size" "locale_t loc" "const char * restrict format" "va_list ap" +.Fo vsnprintf_l +.Fa "char * restrict str" +.Fa "size_t size" +.Fa "locale_t loc" +.Fa "const char * restrict format" +.Fa "va_list ap" +.Fc .Ft int -.Fn vasprintf_l "char **ret" "locale_t loc" "const char *format" "va_list ap" +.Fo vsprintf_l +.Fa "char * restrict str" +.Fa "locale_t loc" +.Fa "const char * restrict format" +.Fa "va_list ap" +.Fc .Sh DESCRIPTION The .Fn printf_l , +.Fn dprintf_l , .Fn fprintf_l , .Fn sprintf_l , .Fn snprintf_l , .Fn asprintf_l , .Fn vprintf_l , +.Fn vdprintf_l , .Fn vfprintf_l , .Fn vsprintf_l , .Fn vsnprintf_l , @@ -84,11 +161,13 @@ and .Fn vasprintf_l functions are extended locale versions of the .Fn printf , +.Fn dprintf , .Fn fprintf , .Fn sprintf , .Fn snprintf , .Fn asprintf , .Fn vprintf , +.Fn vdprintf , .Fn vfprintf , .Fn vsprintf , .Fn vsnprintf ,