|
|
1.1 root 1: /* (-lgl
2: * COHERENT Version 3.2
3: * Copyright (c) 1982, 1993 by Mark Williams Company.
4: * All rights reserved. May not be copied without permission.
5: -lgl) */
6: /*
7: * varargs.h
8: * Variable arguments.
9: */
10:
11: #ifndef __VARARGS_H__
12: #define __VARARGS_H__
13:
14: typedef char *va_list;
15: #define va_dcl int va_alist;
16: #define va_start(ap) ap = (va_list)&va_alist
17: #define va_arg(ap, type) (((type *)(ap += sizeof(type)))[-1])
18: #define va_end(ap)
19:
20: #endif
21:
22: /* end of varargs.h */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.