stdarg.h

Ir a la documentación de este archivo.
00001 #ifndef _STDARG_H_
00002 #define _STDARG_H_ 
00003 
00004 /*
00005   This code is free software; you can redistribute it and/or modify
00006    it under the terms of the GNU General Public License as published by
00007    the Free Software Foundation; either version 2, or (at your option)
00008    any later version.
00009    
00010    This code is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013    GNU General Public License for more details.
00014 */
00015 
00030 #define __va_argsiz(t) (((sizeof(t)+sizeof(int)-1)/sizeof(int))*sizeof(int))
00031 
00033 #define va_arg(ap,t)  (((ap)=(ap)+__va_argsiz(t)),*((t*)(void*)((ap)-__va_argsiz(t))))
00034 
00036 #define va_end(ap) ((void)0)
00037 
00041 typedef char* va_list;
00042 
00044 #define va_start(ap,pN) ((ap)=((va_list)(&pN)+__va_argsiz(pN)))        
00045 
00046 #endif

Generado el Thu Jan 8 00:55:37 2009 para pic-gcc-library por  doxygen 1.5.1