Loading...
Searching...
No Matches
types.h
1/*
2 * Copyright (C) 2014 Freie Universität Berlin, Hinnerk van Bruinehsen
3 * 2015 Kaspar Schleiser <kaspar@schleiser.de>
4 *
5 * This file is subject to the terms and conditions of the GNU Lesser
6 * General Public License v2.1. See the file LICENSE in the top level
7 * directory for more details.
8 */
9
10#ifndef SYS_TYPES_H
11#define SYS_TYPES_H
12
13#include <stdint.h>
14#include <stddef.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20typedef int32_t blkcnt_t;
21typedef int32_t blksize_t;
22typedef uint32_t clock_t;
23typedef uint32_t clockid_t;
24typedef int16_t dev_t;
25typedef uint32_t fsblkcnt_t;
26typedef uint32_t fsfilcnt_t;
27typedef uint16_t gid_t;
28typedef uint16_t id_t;
29typedef uint32_t ino_t;
30typedef uint32_t key_t;
31typedef uint32_t mode_t;
32typedef uint16_t nlink_t;
33typedef int32_t off_t;
34typedef int pid_t;
35typedef unsigned int size_t;
36typedef signed int ssize_t;
37typedef int32_t suseconds_t;
38typedef uint32_t time_t;
39typedef uint32_t timer_t;
40typedef uint16_t uid_t;
41typedef uint32_t useconds_t;
43#ifdef __cplusplus
44}
45#endif
46
47#endif /* SYS_TYPES_H */