OSDN Git Service

(split) LDP: Update original to LDP v3.50.
[linuxjm/LDP_man-pages.git] / original / man3 / shm_open.3
index f7f5f0f..67dec98 100644 (file)
@@ -1,7 +1,6 @@
-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
 .\" Copyright (C) 2002 Michael Kerrisk <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" FIXME . Add an example to this page
 .TH SHM_OPEN 3 2009-02-25 "Linux" "Linux Programmer's Manual"
 .SH NAME
-shm_open, shm_unlink \- Create/open or unlink POSIX shared memory objects
+shm_open, shm_unlink \- create/open or unlink POSIX shared memory objects
 .SH SYNOPSIS
 .B #include <sys/mman.h>
 .br
@@ -166,7 +166,7 @@ an object with the same
 will fail (unless
 .B O_CREAT
 was specified, in which case a new, distinct object is created).
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 On success,
 .BR shm_open ()
 returns a nonnegative file descriptor.
@@ -246,13 +246,13 @@ a
 that does not exist.
 .SH VERSIONS
 These functions are provided in glibc 2.2 and later.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 POSIX.1-2001.
 .LP
 POSIX.1-2001 says that the group ownership of a newly created shared
 memory object is set to either the calling process's effective group ID
 or "a system default group ID".
-.SH "NOTES"
+.SH NOTES
 .LP
 POSIX leaves the behavior of the combination of
 .B O_RDONLY
@@ -266,7 +266,7 @@ The POSIX shared memory object implementation on Linux 2.4 makes use
 of a dedicated file system, which is normally
 mounted under
 .IR /dev/shm .
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR close (2),
 .BR fchmod (2),
 .BR fchown (2),