]>
git.saurik.com Git - apple/xnu.git/blob - osfmk/libsa/stdlib.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.4.1 1997/02/21 15:43:19 barbou
36 * Removed "size_t" definition, include "types.h" instead.
37 * [1997/02/21 15:36:24 barbou]
39 * Revision 1.1.2.3 1996/09/30 10:14:34 bruel
40 * Added strtol and strtoul prototypes.
43 * Revision 1.1.2.2 1996/09/23 15:06:22 bruel
44 * removed bzero and bcopy definitions.
47 * Revision 1.1.2.1 1996/09/17 16:56:24 bruel
48 * created from standalone mach servers.
54 #ifndef _MACH_STDLIB_H_
55 #define _MACH_STDLIB_H_
60 #define NULL (void *)0
63 extern int atoi(const char *);
65 extern void free(void *);
66 extern void *malloc(size_t);
67 extern void *realloc(void *, size_t);
69 extern char *getenv(const char *);
71 extern void exit(int);
73 extern long int strtol (const char *, char **, int);
74 extern unsigned long int strtoul (const char *, char **, int);
76 #endif /* _MACH_STDLIB_H_ */