root/arch/powerpc/include/uapi/asm/posix_types.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
   2 #ifndef _ASM_POWERPC_POSIX_TYPES_H
   3 #define _ASM_POWERPC_POSIX_TYPES_H
   4 
   5 /*
   6  * This file is generally used by user-level software, so you need to
   7  * be a little careful about namespace pollution etc.  Also, we cannot
   8  * assume GCC is being used.
   9  */
  10 
  11 #ifdef __powerpc64__
  12 typedef unsigned long   __kernel_old_dev_t;
  13 #define __kernel_old_dev_t __kernel_old_dev_t
  14 #else
  15 typedef unsigned int    __kernel_size_t;
  16 typedef int             __kernel_ssize_t;
  17 typedef long            __kernel_ptrdiff_t;
  18 #define __kernel_size_t __kernel_size_t
  19 
  20 typedef short           __kernel_ipc_pid_t;
  21 #define __kernel_ipc_pid_t __kernel_ipc_pid_t
  22 #endif
  23 
  24 #include <asm-generic/posix_types.h>
  25 
  26 #endif /* _ASM_POWERPC_POSIX_TYPES_H */

/* [<][>][^][v][top][bottom][index][help] */