manpagez: man pages & more
man xprintf_exec(3)
Home | html | info | man
xprintf_exec(3)          BSD Library Functions Manual          xprintf_exec(3)


NAME

     asxprintf_exec, dxprintf_exec, fxprintf_exec, sxprintf_exec,
     xprintf_exec, vasxprintf_exec, vdxprintf_exec, vfxprintf_exec,
     vsxprintf_exec, vxprintf_exec -- execute-only extensible printf execution


SYNOPSIS

     #include <printf.h>

     int
     asxprintf_exec(char ** restrict ret, printf_comp_t restrict pc, ...);

     int
     dxprintf_exec(int fd, printf_comp_t restrict pc, ...);

     int
     fxprintf_exec(FILE * restrict stream, printf_comp_t restrict pc, ...);

     int
     sxprintf_exec(char * restrict str, size_t size,
         printf_comp_t restrict pc, ...);

     int
     xprintf_exec(printf_comp_t restrict pc, ...);

     #include <stdarg.h>

     int
     vasxprintf_exec(char ** restrict ret, printf_comp_t restrict pc,
         va_list ap);

     int
     vdxprintf_exec(int fd, printf_comp_t restrict pc, va_list ap);

     int
     vfxprintf_exec(FILE * restrict stream, printf_comp_t restrict pc,
         va_list ap);

     int
     vsxprintf_exec(char * restrict str, size_t size,
         printf_comp_t restrict pc, va_list ap);

     int
     vxprintf_exec(printf_comp_t restrict pc, va_list ap);


DESCRIPTION

     These functions are execute-only, extensible printf (see xprintf(5))
     variants, taking a printf_comp_t structure created by the format string
     compilation routine new_printf_comp(3).  All these variants behave like
     their normal printf counterparts (see printf(3)) without `x' and
     ``_exec'' in the name (except sxprintf_exec() and vsxprintf_exec() behave
     like snprintf() and vsnprintf(), respectively).


SEE ALSO

     printf(3), xprintf_comp(3), xprintf(5)

Darwin                           Aug 19, 2012                           Darwin

Mac OS X 10.9.1 - Generated Fri Jan 10 16:51:07 CST 2014
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.