/* * The shmid64_ds structure for the MIPS architecture. * Note extra padding because this structure is passed back and forth * between kernel and user space. * * As MIPS was lacking proper padding after shm_?time, we use 48 bits * of the padding at the end to store a few additional bits of the time. * libc implementations need to take care to convert this into a proper * data structure when moving to 64-bit time_t.
*/
#ifdef __mips64 struct shmid64_ds { struct ipc64_perm shm_perm; /* operation perms */
__kernel_size_t shm_segsz; /* size of segment (bytes) */ long shm_atime; /* last attach time */ long shm_dtime; /* last detach time */ long shm_ctime; /* last change time */
__kernel_pid_t shm_cpid; /* pid of creator */
__kernel_pid_t shm_lpid; /* pid of last operator */ unsignedlong shm_nattch; /* no. of current attaches */ unsignedlong __unused1; unsignedlong __unused2;
}; #else struct shmid64_ds { struct ipc64_perm shm_perm; /* operation perms */
__kernel_size_t shm_segsz; /* size of segment (bytes) */ unsignedlong shm_atime; /* last attach time */ unsignedlong shm_dtime; /* last detach time */ unsignedlong shm_ctime; /* last change time */
__kernel_pid_t shm_cpid; /* pid of creator */
__kernel_pid_t shm_lpid; /* pid of last operator */ unsignedlong shm_nattch; /* no. of current attaches */ unsignedshort shm_atime_high; unsignedshort shm_dtime_high; unsignedshort shm_ctime_high; unsignedshort __unused1;
}; #endif
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.