Skip to contentSkip to conversation

semget.2, shm_open.3: tfix

PATCH In review Alejandro Colomar 2 participants 2 messages Jan 24, 2021 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 semget.2, shm_open.3: tfix

From: Jakub Wilk <[email protected]>

---
 man2/semget.2   | 2 +-
 man3/shm_open.3 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
man2/semget.2 +1 -1
index 9276a1820..17bad6ca9 100644
@@ -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
man3/shm_open.3 +1 -1
index c7d051067..6bc8078f0 100644
@@ -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
Signature · 1 line
2.30.0
#1 lore raw
Quoted 4 lines · Alejandro Colomar

From: Jakub Wilk <[email protected]>

Thanks, Alex. Patch applied.

Cheers,

Michael

Quoted 32 lines
---
 man2/semget.2   | 2 +-
 man3/shm_open.3 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
man2/semget.2 +1 -1
index 9276a1820..17bad6ca9 100644
@@ -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
man3/shm_open.3 +1 -1
index c7d051067..6bc8078f0 100644
@@ -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
Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/