]> git.saurik.com Git - apple/libc.git/blame - headers.subproj/libc.h
Libc-166.tar.gz
[apple/libc.git] / headers.subproj / libc.h
CommitLineData
e9ce8d39
A
1/*
2 * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
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.
11 *
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
18 * under the License.
19 *
20 * @APPLE_LICENSE_HEADER_END@
21 */
22/*
23 * Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
24 */
25
26#ifndef LIBC_H
27#define LIBC_H
28
29#include <stdio.h>
30#include <standards.h>
31#include <unistd.h>
32
33#ifdef __STRICT_BSD__
34#include <strings.h>
35#include <varargs.h>
36#else
37#include <string.h>
38#include <stdlib.h>
39#include <time.h>
40#include <stdarg.h>
41#endif
42
43#include <sys/mount.h>
44#include <sys/types.h>
45#include <sys/wait.h>
46#include <sys/time.h>
47#include <sys/times.h>
48#include <sys/resource.h>
49#include <sys/param.h>
50#include <signal.h>
51#include <sys/time.h>
52#include <sys/stat.h>
53#include <sys/file.h>
54#include <sys/socket.h>
55#include <sys/ioctl.h>
56#include <netinet/in.h>
57#include <arpa/inet.h>
58#include <mach/machine/vm_types.h>
59#include <mach/boolean.h>
60#include <mach/kern_return.h>
61
62struct qelem {
63 struct qelem *q_forw;
64 struct qelem *q_back;
65 char *q_data;
66};
67
68extern kern_return_t map_fd(int fd, vm_offset_t offset,
69 vm_offset_t *addr, boolean_t find_space, vm_size_t numbytes);
70
71
72#endif /* _LIBC_H */