]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man7/shm_overview.7
setxattr.2: Add ERANGE to 'ERRORS' section
[thirdparty/man-pages.git] / man7 / shm_overview.7
index cac62d69663fa6cfd0ab8dc9885a2ddaa60f4923..3afdeb41aff2ec553e12cfc42273b806052b9ea4 100644 (file)
@@ -1,9 +1,8 @@
 '\" t
-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
 .\" Copyright (C) 2008, Linux Foundation, written by 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
 .\"
-.TH SHM_OVERVIEW 7 2008-06-25 "Linux" "Linux Programmer's Manual"
+.TH SHM_OVERVIEW 7 2016-12-12 "Linux" "Linux Programmer's Manual"
 .SH NAME
-shm_overview \- Overview of POSIX shared memory
+shm_overview \- overview of POSIX shared memory
 .SH DESCRIPTION
 The POSIX shared memory API allows processes to communicate information
 by sharing a region of memory.
-
+.PP
 The interfaces employed in the API are:
 .TP 15
 .BR shm_open (3)
@@ -91,27 +91,25 @@ Programs using the POSIX shared memory API must be compiled with
 .I cc \-lrt
 to link against the real-time library,
 .IR librt .
-.SS Accessing shared memory objects via the file system
+.SS Accessing shared memory objects via the filesystem
 On Linux, shared memory objects are created in a
-.RI ( tmpfs )
-virtual file system, normally mounted under
+.RI ( tmpfs (5))
+virtual filesystem, normally mounted under
 .IR /dev/shm .
 Since kernel 2.6.19, Linux supports the use of access control lists (ACLs)
-to control the permissions of objects in the virtual file system.
-.SH "CONFORMING TO"
-POSIX.1-2001.
+to control the permissions of objects in the virtual filesystem.
 .SH NOTES
 Typically, processes must synchronize their access to a shared
 memory object, using, for example, POSIX semaphores.
-
+.PP
 System V shared memory
 .RB ( shmget (2),
 .BR shmop (2),
-etc.) is an older semaphore API.
+etc.) is an older shared memory API.
 POSIX shared memory provides a simpler, and better designed interface;
 on the other hand POSIX shared memory is somewhat less widely available
 (especially on older systems) than System V shared memory.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR fchmod (2),
 .BR fchown (2),
 .BR fstat (2),