The POSIX shared memory API is summarized in the following table. Some of the calls listed are also included in other features:
|
Function |
Description |
|---|---|
|
close() |
Close a file descriptor |
|
dup() |
Duplicate an open file descriptor |
|
dup2() |
Duplicate an open file descriptor |
|
fchmod() |
Change mode of file |
|
fchown() |
Change owner and group of a file |
|
fcntl() |
File control |
|
fpathconf() |
Get configurable pathname variables |
|
fstat() |
Get file status |
|
ftruncate() |
Set size of a shared memory object |
|
mmap() |
Map actor addresses to memory object. |
|
munmap() |
Unmap previously mapped addresses |
|
shm_open() |
Open a shared memory object |
|
shm_unlink() |
Unlink a shared memory object |