/* SPDX-License-Identifier: LGPL-2.1 OR MIT */1/*2* Standard definitions and types for NOLIBC3* Copyright (C) 2017-2021 Willy Tarreau <[email protected]>4*/56#ifndef _NOLIBC_STD_H7#define _NOLIBC_STD_H89/* Declare a few quite common macros and types that usually are in stdlib.h,10* stdint.h, ctype.h, unistd.h and a few other common locations. Please place11* integer type definitions and generic macros here, but avoid OS-specific and12* syscall-specific stuff, as this file is expected to be included very early.13*/1415#include "stdint.h"16#include "stddef.h"1718#include <linux/types.h>1920/* those are commonly provided by sys/types.h */21typedef unsigned int dev_t;22typedef unsigned long ino_t;23typedef unsigned int mode_t;24typedef signed int pid_t;25typedef unsigned int uid_t;26typedef unsigned int gid_t;27typedef unsigned long nlink_t;28typedef signed long off_t;29typedef signed long blksize_t;30typedef signed long blkcnt_t;31typedef __kernel_old_time_t time_t;3233#endif /* _NOLIBC_STD_H */343536