aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/shm_open.2
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2005-01-20 09:17:07 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2005-01-20 09:17:07 +0000
commit24a0682c6465290759ed0b09ea16e40e7cd47053 (patch)
tree13c84f0554aefe96321f671bc8860f5e9f184a5a /lib/libc/sys/shm_open.2
parente1239d17fe51ff52f68635ebbb01e77d58371618 (diff)
downloadsrc-24a0682c6465290759ed0b09ea16e40e7cd47053.tar.gz
src-24a0682c6465290759ed0b09ea16e40e7cd47053.zip
Sort sections.
Notes
Notes: svn path=/head/; revision=140505
Diffstat (limited to 'lib/libc/sys/shm_open.2')
-rw-r--r--lib/libc/sys/shm_open.218
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/sys/shm_open.2 b/lib/libc/sys/shm_open.2
index 7b62e9a72271..b68e85b6bb49 100644
--- a/lib/libc/sys/shm_open.2
+++ b/lib/libc/sys/shm_open.2
@@ -98,6 +98,15 @@ The
function makes no effort to ensure that
.Fa path
refers to a shared memory object.
+.Sh RETURN VALUES
+If successful,
+.Fn shm_open
+returns a non-negative integer;
+.Fn shm_unlink
+returns zero.
+Both functions return -1 on failure, and set
+.Va errno
+to indicate the error.
.Sh COMPATIBILITY
The
.Fa path
@@ -130,15 +139,6 @@ on a shared memory object, or on the descriptor returned by
is undefined.
It is also undefined whether the shared memory object itself, or its
contents, persist across reboots.
-.Sh RETURN VALUES
-If successful,
-.Fn shm_open
-returns a non-negative integer;
-.Fn shm_unlink
-returns zero.
-Both functions return -1 on failure, and set
-.Va errno
-to indicate the error.
.Sh ERRORS
The
.Fn shm_open