Something went wrong. Try again.
Cider Isn't Darwin Emulation, Really
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465.Dd Aug 19, 2012.Dt XPRINTF 3.Os Darwin.Sh NAME.Nm asxprintf , dxprintf , fxprintf , sxprintf , xprintf ,.Nm vasxprintf , vdxprintf , vfxprintf , vsxprintf , vxprintf.Nd extensible printf.Sh SYNOPSIS.In printf.h.Ft int.Fn asxprintf "char ** restrict ret" "printf_domain_t restrict domain" "locale_t restrict loc" "const char * restrict format" ....Ft int.Fn dxprintf "int fd" "printf_domain_t restrict domain" "locale_t restrict loc" "const char * restrict format" ....Ft int.Fn fxprintf "FILE * restrict stream" "printf_domain_t restrict domain" "locale_t restrict loc" "const char * restrict format" ....Ft int.Fn sxprintf "char * restrict str" "size_t size" "printf_domain_t restrict domain" "locale_t restrict loc" "const char * restrict format" ....Ft int.Fn xprintf "printf_domain_t restrict domain" "locale_t restrict loc" "const char * restrict format" ....In stdarg.h.Ft int.Fn vasxprintf "char ** restrict ret" "printf_domain_t restrict domain" "locale_t restrict loc" "const char * restrict format" "va_list ap".Ft int.Fn vdxprintf "int fd" "printf_domain_t restrict domain" "locale_t restrict loc" "const char * restrict format" "va_list ap".Ft int.Fn vfxprintf "FILE * restrict stream" "printf_domain_t restrict domain" "locale_t restrict loc" "const char * restrict format" "va_list ap".Ft int.Fn vsxprintf "char * restrict str" "size_t size" "printf_domain_t restrict domain" "locale_t restrict loc" "const char * restrict format" "va_list ap".Ft int.Fn vxprintf "printf_domain_t restrict domain" "locale_t restrict loc" "const char * restrict format" "va_list ap".Sh DESCRIPTIONThese extensible printf (see.Xr xprintf 5 )variants behave like their normal printf counterparts(see.Xr printf 3 )without.Sq Li xin the name (except.Fn sxprintfand.Fn vsxprintfbehave like.Fn snprintfand.Fn vsnprintf ,respectively)..PpThe.Va domainargument must be a pointer to a printf domain structure, as returned by one ofthe functions described in.Xr xprintf_domain 3 .The.Va locargument should be an extended locale (see.Xr xlocale 3 )or NULL, which means to use the current locale in effect (either the per-threadlocale if set, or the global locale by default)..Sh SEE ALSO.Xr printf 3 ,.Xr xlocale 3 ,.Xr xprintf_domain 3 ,.Xr xprintf 5