From: Jakub Wilk Date: Sun, 24 Jan 2021 15:10:43 +0000 (+0100) Subject: semget.2, shm_open.3: tfix X-Git-Tag: man-pages-5.11~267 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29dee4ce10a37e069200623e2d581a18a673b37d;p=thirdparty%2Fman-pages.git semget.2, shm_open.3: tfix Signed-off-by: Jakub Wilk Signed-off-by: Alejandro Colomar Signed-off-by: Michael Kerrisk --- diff --git a/man2/semget.2 b/man2/semget.2 index a8fed15e68..445ac0249d 100644 --- a/man2/semget.2 +++ b/man2/semget.2 @@ -155,7 +155,7 @@ If the semaphore set already exists, the permissions are 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 diff --git a/man3/shm_open.3 b/man3/shm_open.3 index c5ce650afb..f27794a850 100644 --- a/man3/shm_open.3 +++ b/man3/shm_open.3 @@ -170,7 +170,7 @@ was specified, in which case a new, distinct object is created). 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