1 Star 0 Fork 5.2K

liximin / docs

forked from OpenHarmony / docs 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
shmid_ds.md 7.05 KB
Copy Edit Raw Blame History
wenjun authored 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

shmid_ds

Overview

Related Modules:

MEM

Description:

Stores information about a shared memory segment.

Summary

Data Fields

Variable Name

Description

shm_perm

struct ipc_perm 

shm_segsz

size_t 

shm_atime

time_t 

shm_dtime

time_t 

shm_ctime

time_t 

shm_cpid

pid_t 

shm_lpid

pid_t 

shm_nattch

unsigned long 

__pad1

unsigned long 

__pad2

unsigned long 

Details

Field Documentation

__pad1

unsigned long shmid_ds::__pad1

Description:

Padding field

__pad2

unsigned long shmid_ds::__pad2

Description:

Padding field

shm_atime

time_t shmid_ds::shm_atime

Description:

Time when the last process is attached to this segment

shm_cpid

pid_t shmid_ds::shm_cpid

Description:

ID of the process that created this segment

shm_ctime

time_t shmid_ds::shm_ctime

Description:

Time when the last process modified this segment

shm_dtime

time_t shmid_ds::shm_dtime

Description:

Time when the last process is detached from this segment

shm_lpid

pid_t shmid_ds::shm_lpid

Description:

ID of the last process that operated this segment

shm_nattch

unsigned long shmid_ds::shm_nattch

Description:

Number of processes attached to this segment

shm_perm

struct ipc_perm shmid_ds::shm_perm

Description:

Operation permissions on this segment

shm_segsz

size_t shmid_ds::shm_segsz

Description:

Segment size, in bytes

1
https://gitee.com/liximin/docs.git
git@gitee.com:liximin/docs.git
liximin
docs
docs
master

Search

53164aa7 5694891 3bd8fe86 5694891