New developer version 0.6.8; added select () function; added demonstrating example...
[ZeXOS.git] / libc / include / sys / types.h
blobfe759da2bb33237765c930d7d2c6260f0c817e53
1 /*
2 * ZeX/OS
3 * Copyright (C) 2009 Tomas 'ZeXx86' Jedrzejek (zexx86@zexos.org)
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef _TYPES_H
21 #define _TYPES_H
23 #include <_null.h>
24 #include <_size_t.h>
26 #define EOF -1
28 typedef int pid_t;
29 typedef long off_t;
30 typedef unsigned long time_t;
31 typedef unsigned short uid_t;
32 typedef unsigned char gid_t;
33 typedef unsigned short dev_t;
34 typedef unsigned short ino_t;
35 typedef unsigned short mode_t;
36 typedef unsigned short umode_t;
37 typedef unsigned char nlink_t;
38 typedef unsigned int clock_t;
39 typedef int ssize_t;
41 #endif