Stubbed out some more libc functions.
[planlOS.git] / programs / include / sys / types.h
blobdd5231344f9be858cd00c7fa4a8f95276dc41ffa
1 /*
2 Copyright (C) 2008 Mathias Gottschlag
4 Permission is hereby granted, free of charge, to any person obtaining a copy of
5 this software and associated documentation files (the "Software"), to deal in the
6 Software without restriction, including without limitation the rights to use,
7 copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
8 Software, and to permit persons to whom the Software is furnished to do so,
9 subject to the following conditions:
11 The above copyright notice and this permission notice shall be included in all
12 copies or substantial portions of the Software.
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
15 INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
16 PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
17 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
18 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
19 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 #ifndef SYS_TYPES_H_INCLUDED
23 #define SYS_TYPES_H_INCLUDED
25 #include <stdint.h>
27 typedef uint32_t blkcnt_t;
28 typedef uint64_t blkcnt64_t;
29 typedef uint32_t blksize_t;
30 typedef uint64_t blksize64_t;
31 typedef int32_t clock_t;
32 typedef uint32_t clockid_t;
33 typedef uint32_t dev_t;
34 typedef int32_t sblkcnt_t;
35 typedef int64_t sblkcnt64_t;
36 typedef uint32_t fsfilcnt_t;
37 typedef uint32_t gid_t;
38 typedef uint32_t id_t;
39 typedef uint32_t ino_t;
40 typedef uint64_t ino64_t;
41 typedef uint32_t mode_t;
42 typedef uint32_t nlink_t;
43 typedef uint32_t off_t;
44 typedef uint64_t off64_t;
45 typedef int32_t pid_t;
46 typedef int32_t ssize_t;
47 typedef int64_t suseconds_t;
48 typedef uint32_t time_t;
49 typedef uint32_t timer_t;
50 typedef uint32_t trace_attr_t;
51 typedef uint32_t uid_t;
52 typedef uint64_t useconds_t;
53 typedef unsigned char u_char;
55 typedef uint32_t pthread_spinlock_t;
57 #endif