Lely core libraries 2.3.4
types.h
Go to the documentation of this file.
1
23#ifndef LELY_LIBC_SYS_TYPES_H_
24#define LELY_LIBC_SYS_TYPES_H_
25
26#include <lely/features.h>
27
28#ifndef LELY_HAVE_SYS_TYPES_H
29#if defined(_POSIX_C_SOURCE) || defined(__MINGW32__) || defined(__NEWLIB__)
30#define LELY_HAVE_SYS_TYPES_H 1
31#endif
32#endif
33
34#if LELY_HAVE_SYS_TYPES_H
35#include <sys/types.h>
36#else // !LELY_HAVE_SYS_TYPES_H
37#include <stddef.h>
38
40typedef int clockid_t;
41
43typedef ptrdiff_t ssize_t;
44
45#endif // !LELY_HAVE_SYS_TYPES_H
46
47#endif // !LELY_LIBC_SYS_TYPES_H_
This header file is part of the Lely libraries; it contains the compiler feature definitions.
This header file is part of the C11 and POSIX compatibility library; it includes <stddef....
This header file is part of the C11 and POSIX compatibility library; it includes <sys/types....
int clockid_t
Used for clock ID type in the clock and timer functions.
Definition types.h:40
ptrdiff_t ssize_t
Used for a count of bytes or an error indication.
Definition types.h:43