Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
verified.
.\" and a check is made to see if it is marked for destruction.
.SH RETURN VALUE
-On sucess,
+On success,
.BR semget ()
returns the semaphore set identifier (a nonnegative integer).
On failure, \-1 is returned, and
On success,
.BR shm_open ()
returns a file descriptor (a nonnegative integer).
-On sucess,
+On success,
.BR shm_unlink ()
returns 0.
On failure, both functions return \-1 and set