]> git.saurik.com Git - apple/xnu.git/blame - osfmk/libsa/stdio.h
xnu-344.23.tar.gz
[apple/xnu.git] / osfmk / libsa / stdio.h
CommitLineData
1c79356b
A
1/*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
de355530
A
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
1c79356b 11 *
de355530
A
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1c79356b
A
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
de355530
A
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
18 * under the License.
1c79356b
A
19 *
20 * @APPLE_LICENSE_HEADER_END@
21 */
22/*
23 * @OSF_COPYRIGHT@
24 *
25 */
26/*
27 * HISTORY
28 *
29 * Revision 1.1.1.1 1998/09/22 21:05:51 wsanchez
30 * Import of Mac OS X kernel (~semeria)
31 *
32 * Revision 1.1.1.1 1998/03/07 02:25:35 wsanchez
33 * Import of OSF Mach kernel (~mburg)
34 *
35 * Revision 1.1.2.3 1996/10/04 11:36:05 emcmanus
36 * Added fprintf_stderr() prototype, for use by Mach libraries and like
37 * that might end up being linked with either libc or libsa_mach.
38 * [1996/10/04 11:31:53 emcmanus]
39 *
40 * Revision 1.1.2.2 1996/10/03 17:53:45 emcmanus
41 * Define NULL. This is currently also (questionably) defined in stdlib.h,
42 * string.h, and types.h.
43 * [1996/10/03 16:17:55 emcmanus]
44 *
45 * Revision 1.1.2.1 1996/09/17 16:56:18 bruel
46 * created from standalone mach servers.
47 * [96/09/17 bruel]
48 *
49 * $EndLog$
50 */
51
52#ifndef _MACH_STDIO_H_
53#define _MACH_STDIO_H_
54
55#include <stdarg.h>
56
57#ifndef NULL
58#define NULL ((void *) 0)
59#endif
60
61extern int sprintf(char *, const char *, ...);
62extern int printf(const char *, ...);
63extern int vprintf(const char *, va_list );
64extern int vsprintf(char *, const char *, va_list );
65
66extern int getchar(void);
67
68extern int fprintf_stderr(const char *, ...);
69
70#endif /* _MACH_STDIO_H_ */