Home | History | Annotate | Download | only in asm
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ****************************************************************************
     11  ****************************************************************************/
     12 #ifndef _ASM_X86_SHMBUF_H
     13 #define _ASM_X86_SHMBUF_H
     14 
     15 struct shmid64_ds {
     16  struct ipc64_perm shm_perm;
     17  size_t shm_segsz;
     18  __kernel_time_t shm_atime;
     19 #ifdef __i386__
     20  unsigned long __unused1;
     21 #endif
     22  __kernel_time_t shm_dtime;
     23 #ifdef __i386__
     24  unsigned long __unused2;
     25 #endif
     26  __kernel_time_t shm_ctime;
     27 #ifdef __i386__
     28  unsigned long __unused3;
     29 #endif
     30  __kernel_pid_t shm_cpid;
     31  __kernel_pid_t shm_lpid;
     32  unsigned long shm_nattch;
     33  unsigned long __unused4;
     34  unsigned long __unused5;
     35 };
     36 
     37 struct shminfo64 {
     38  unsigned long shmmax;
     39  unsigned long shmmin;
     40  unsigned long shmmni;
     41  unsigned long shmseg;
     42  unsigned long shmall;
     43  unsigned long __unused1;
     44  unsigned long __unused2;
     45  unsigned long __unused3;
     46  unsigned long __unused4;
     47 };
     48 
     49 #endif
     50