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