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