diff options
author | Jakub Wilk <jwilk@jwilk.net> | 2021-01-24 16:10:43 +0100 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-01-24 23:33:35 +0100 |
commit | 29dee4ce10a37e069200623e2d581a18a673b37d (patch) | |
tree | 5d683fb81e7c484b0b2168e74d4039eed26574f1 | |
parent | 27fce38a2ae2fe4808184b59d9899ad322b3cd7a (diff) | |
download | man-pages-29dee4ce10a37e069200623e2d581a18a673b37d.tar.gz |
semget.2, shm_open.3: tfix
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>
-rw-r--r-- | man2/semget.2 | 2 | ||||
-rw-r--r-- | man3/shm_open.3 | 2 |
2 files changed, 2 insertions, 2 deletions
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 |