linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sem_overview.7: Fix typo (semget => shmget)
@ 2010-03-30  2:01 Bo Borgerson
       [not found] ` <4BB15B5D.7050706-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Bo Borgerson @ 2010-03-30  2:01 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 221 bytes --]

Hi,

The sem_overview(7) man page makes reference to "a System V shared 
memory segment created using semget(2)".  Was this intended to be 
"shmget(2)"?

Please see attached patch against current git master.

Thanks,

Bo

[-- Attachment #2: 0001-sem_overview.7-Fix-typo-semget-shmget.patch --]
[-- Type: text/x-diff, Size: 919 bytes --]

>From cc406c10dd443f79e9073f053619a9c475ec97ad Mon Sep 17 00:00:00 2001
From: Bo Borgerson <gigabo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: Mon, 29 Mar 2010 18:12:33 -0700
Subject: [PATCH] sem_overview.7: Fix typo (semget => shmget)

In reference to creation of a SysV shared memory segment.
---
 man7/sem_overview.7 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/man7/sem_overview.7 b/man7/sem_overview.7
index ef354fe..fb706d2 100644
--- a/man7/sem_overview.7
+++ b/man7/sem_overview.7
@@ -88,7 +88,7 @@ A thread-shared semaphore is placed in an area of memory shared
 between by the threads of a process, for example, a global variable.
 A process-shared semaphore must be placed in a shared memory region
 (e.g., a System V shared memory segment created using
-.BR semget (2),
+.BR shmget (2),
 or a POSIX shared memory object built created using
 .BR shm_open (3)).
 
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] sem_overview.7: Fix typo (semget => shmget)
       [not found] ` <4BB15B5D.7050706-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2010-05-22  6:54   ` Michael Kerrisk
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk @ 2010-05-22  6:54 UTC (permalink / raw)
  To: Bo Borgerson; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

On Tue, Mar 30, 2010 at 4:01 AM, Bo Borgerson <gigabo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hi,
>
> The sem_overview(7) man page makes reference to "a System V shared memory
> segment created using semget(2)".  Was this intended to be "shmget(2)"?
>
> Please see attached patch against current git master.

Thanks. Patch applied for 3.25.

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface" http://blog.man7.org/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-22  6:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-30  2:01 [PATCH] sem_overview.7: Fix typo (semget => shmget) Bo Borgerson
     [not found] ` <4BB15B5D.7050706-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-05-22  6:54   ` Michael Kerrisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).