|
|
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: * stdarg.h
8: * C variable arguments header.
9: * Draft Proposed ANSI C Standard, Section 4.8, 12/7/88 draft.
10: */
11:
12: #ifndef __STDARG_H__
13: #define __STDARG_H__
14:
15: /* Type. */
16: #if __STDC__
17: typedef void *va_list;
18: #else
19: typedef char *va_list;
20: #endif
21:
22: /* Macros. */
23: #define va_start(ap, pN) ap = (((va_list)&pN) + sizeof(pN))
24: #define va_arg(ap, type) (((type *)(ap += sizeof(type)))[-1])
25: #define va_end(ap)
26:
27: #endif
28:
29: /* end of stdarg.h */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.