nckernel  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions
표준 가변 인자 처리 함수

가변인자를 처리하는 표준 함수들을 정의한다. More...

Collaboration diagram for 표준 가변 인자 처리 함수:

Macros

#define va_arg(l, t)   __builtin_va_arg(l, t)
 
#define va_end(v)   __builtin_va_end(v)
 
#define va_start(v, l)   __builtin_va_start(v, l)
 

Typedefs

typedef __builtin_va_list __gnuc_va_list
 
typedef __gnuc_va_list va_list
 

Functions

int vfprintf (FILE *stream, const char *format, va_list ap)
 
int vprintf (const char *format, va_list ap)
 
int vsnprintf (char *str, size_t size, const char *format, va_list ap)
 
int vsprintf (char *str, const char *format, va_list ap)
 

Detailed Description

가변인자를 처리하는 표준 함수들을 정의한다.

Author
Sung-jae Park nices.nosp@m.j@ni.nosp@m.cesj..nosp@m.com
Date
2011-7-22

Macro Definition Documentation

#define va_arg (   l,
 
)    __builtin_va_arg(l, t)

Definition at line 14 of file stdarg.h.

Referenced by fdc_ioctl(), serial_ioctl(), and syscall().

#define va_end (   v)    __builtin_va_end(v)
#define va_start (   v,
 
)    __builtin_va_start(v, l)

Typedef Documentation

typedef __builtin_va_list __gnuc_va_list

Definition at line 10 of file stdarg.h.

Definition at line 11 of file stdarg.h.

Function Documentation

int vfprintf ( FILE stream,
const char *  format,
va_list  ap 
)

Definition at line 278 of file stdarg.c.

References info::out, info::stream, info::STREAM, and info::type.

Referenced by fprintf(), and vprintf().

Here is the caller graph for this function:

int vprintf ( const char *  format,
va_list  ap 
)

Definition at line 260 of file stdarg.c.

References stdout, and vfprintf().

Referenced by __attribute__(), and printf().

Here is the call graph for this function:

Here is the caller graph for this function:

int vsnprintf ( char *  str,
size_t  size,
const char *  format,
va_list  ap 
)

Definition at line 288 of file stdarg.c.

References info::buffer, info::BUFFER, info::out, and info::type.

Referenced by snprintf(), and vsprintf().

Here is the caller graph for this function:

int vsprintf ( char *  str,
const char *  format,
va_list  ap 
)

Definition at line 269 of file stdarg.c.

References vsnprintf().

Referenced by sprintf().

Here is the call graph for this function:

Here is the caller graph for this function: