cipc

What do the flags SHM_RND of the IPC function shmat mean?


I checked the man pages, but they don't explain the RND meaning. I want to know the words the RND stand for. Like SHM_RDONLY stand for read-only.thank you!


Solution

  • It means Round, as this document(on page 64) suggests it rounds down to the nearest page size whenever you OR with this flag.