Inheritance diagram for Ux::PosixShm:
Definition at line 66 of file uxposixipc.hpp.
Public Member Functions | |
void | open (const char *name, int flags, mode_t perms=PERM_FILE) |
void | unlink (const char *name) |
void * | mmap (size_t len, void *addr=NULL, int prot=PROT_READ|PROT_WRITE, int flags=MAP_SHARED, off_t off=0) |
void | munmap (void *addr, size_t len) |
|
Calls mmap. Arguments are in a different order to take advantage of defaults, and fd argument comes from the class. Definition at line 188 of file uxposixipc.cpp. References errno, and Ux::File::fd. |
|
Calls munmap. Could be static, as it doesn't refer to the fd. Definition at line 200 of file uxposixipc.cpp. References errno. |
|
Calls shm_open. Definition at line 161 of file uxposixipc.cpp. References errno, and Ux::File::fd. |
|
Calls shm_unlink. Could be static, as it doesn't refer to the fd. Definition at line 174 of file uxposixipc.cpp. References errno. |