Path: blob/master/arch/xtensa/include/uapi/asm/posix_types.h
28496 views
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1/*2* include/asm-xtensa/posix_types.h3*4* This file is subject to the terms and conditions of the GNU General Public5* License. See the file "COPYING" in the main directory of this archive6* for more details.7*8* Largely copied from include/asm-ppc/posix_types.h9*10* Copyright (C) 2001 - 2005 Tensilica Inc.11*/1213#ifndef _XTENSA_POSIX_TYPES_H14#define _XTENSA_POSIX_TYPES_H1516/*17* This file is generally used by user-level software, so you need to18* be a little careful about namespace pollution etc. Also, we cannot19* assume GCC is being used.20*/2122typedef unsigned short __kernel_ipc_pid_t;23#define __kernel_ipc_pid_t __kernel_ipc_pid_t2425typedef unsigned int __kernel_size_t;26typedef int __kernel_ssize_t;27typedef long __kernel_ptrdiff_t;28#define __kernel_size_t __kernel_size_t2930typedef unsigned short __kernel_old_uid_t;31typedef unsigned short __kernel_old_gid_t;32#define __kernel_old_uid_t __kernel_old_uid_t3334typedef unsigned short __kernel_old_dev_t;35#define __kernel_old_dev_t __kernel_old_dev_t3637#include <asm-generic/posix_types.h>3839#endif /* _XTENSA_POSIX_TYPES_H */404142