Where is SHM_FAILED defined in RHEL?
Issue
We are porting an application from HP-UX and found that SHM_FAILED does not exist on RHEL. On HP-UX it has the following meaning
in the shmat() system call:
If the calling process is already attached to the shared memory
segment, shmat() fails and returns SHM_FAILED regardless of what value
is passed in shmaddr. See exceptions for MPAS processes below.
How is it defined on RHEL?
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.