]>
git.saurik.com Git - apple/xnu.git/blob - osfmk/libsa/stdio.h
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
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.
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
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
20 * @APPLE_LICENSE_HEADER_END@
29 * Revision 1.1.1.1 1998/09/22 21:05:51 wsanchez
30 * Import of Mac OS X kernel (~semeria)
32 * Revision 1.1.1.1 1998/03/07 02:25:35 wsanchez
33 * Import of OSF Mach kernel (~mburg)
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]
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]
45 * Revision 1.1.2.1 1996/09/17 16:56:18 bruel
46 * created from standalone mach servers.
52 #ifndef _MACH_STDIO_H_
53 #define _MACH_STDIO_H_
58 #define NULL ((void *) 0)
61 extern int sprintf(char *, const char *, ...);
62 extern int printf(const char *, ...);
63 extern int vprintf(const char *, va_list );
64 extern int vsprintf(char *, const char *, va_list );
66 extern int getchar(void);
68 extern int fprintf_stderr(const char *, ...);
70 #endif /* _MACH_STDIO_H_ */