MentOS
0.8.0
The Mentoring Operating System
libc
inc
stdarg.h
Go to the documentation of this file.
1
6
#pragma once
7
11
typedef
char
*
va_list
;
12
14
#define va_item int
15
18
#define va_size(t) \
19
(((sizeof(t) + sizeof(va_item) - 1) / sizeof(va_item)) * sizeof(va_item))
20
22
#define va_start(ap, last_arg) (ap = ((va_list)(&last_arg) + va_size(last_arg)))
24
#define va_end(ap) ((void)0)
25
27
#define va_arg(ap, t) (ap += va_size(t), *((t *)(ap - va_size(t))))
va_list
char * va_list
The va_list type is an array containing a single element of one structure containing the necessary in...
Definition:
stdarg.h:11
Generated by
1.9.1