home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
cset21v1.zip
/
IBMCPP
/
INCLUDE
/
STDARG.H
< prev
next >
Wrap
Text File
|
1993-09-17
|
2KB
|
48 lines
#pragma info( none )
#ifndef __CHKHDR__
#pragma info( none )
#endif
#pragma info( restore )
#ifndef __stdarg_h
#define __stdarg_h
#ifdef __cplusplus
extern "C" {
#endif
/********************************************************************/
/* <stdarg.h> header file */
/* */
/* Licensed Materials - Property of IBM */
/* */
/* IBM C/C++ Tools Version 2.01 */
/* Copyright (C) International Business Machines Corp., 1991,1993 */
/* All rights reserved */
/* */
/* US Government Users Restricted Rights - */
/* Use, duplication, or disclosure restricted */
/* by GSA ADP Schedule Contract with IBM Corp. */
/* */
/********************************************************************/
typedef char *va_list;
#define __nextword(base) (((unsigned)(sizeof(base))+3U)&~(3U))
#define va_start(ap, last) ap = ((va_list)&last) + __nextword(last)
#define va_arg(ap, type) ((type *) ((ap += (int) __nextword(type)) - __nextword(type)))[0]
#define va_end(ap) ap = 0
#ifdef __cplusplus
}
#endif
#endif
#pragma info( none )
#ifndef __CHKHDR__
#pragma info( restore )
#endif
#pragma info( restore )