ftp.nice.ch/pub/next/developer/languages/c/gcc.2.7.2.2.I.b.tar.gz#/lib/gcc-lib/i386-next-nextstep3/2.7.2.2.f.2/include/ansi/hppa/stdarg.h

This is stdarg.h in view mode; [Download] [Up]

#ifndef _ANSI_HPPA_STDARG_H_
#define _ANSI_HPPA_STDARG_H_

#define _DEFINE_VA_LIST
#include <ansi/hppa/stdtypes.h>

/* Indicate that this program uses <stdarg.h>. */
#define __STDARG__

#define __stdarg_rounded_size(TYPE)  \
  ((sizeof (TYPE) + sizeof (int) - 1) & ~(sizeof(int)-1))

/* BSD compatibility: if `#include <varargs.h>' was encountered, don't
 * redefine the macros. */

#ifndef va_start
#define va_start(list,parmN) \
    (void)((list) = ((char *)__builtin_saveregs()))
#endif

#ifndef va_end
#define va_end(list) \
    (void)((list) = (char *)0)
#endif

#ifndef va_arg
#define va_arg(list, type) \
    (*(type *)((list) = (va_list)((unsigned)((list) -__stdarg_rounded_size(type)) & ~(__stdarg_rounded_size(type)-1))))
#endif


#endif	/* _ANSI_HPPA_STDARG_H_ */

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.