diff options
author | ru <ru@FreeBSD.org> | 2005-01-20 09:17:07 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-01-20 09:17:07 +0000 |
commit | ed72feddcb3cc58c18aff36f4227af3fb11facad (patch) | |
tree | 13c84f0554aefe96321f671bc8860f5e9f184a5a /lib/libc/sys/shm_open.2 | |
parent | 10aca679734b6819f63019fd7c2ba4e54357c677 (diff) | |
download | FreeBSD-src-ed72feddcb3cc58c18aff36f4227af3fb11facad.zip FreeBSD-src-ed72feddcb3cc58c18aff36f4227af3fb11facad.tar.gz |
Sort sections.
Diffstat (limited to 'lib/libc/sys/shm_open.2')
-rw-r--r-- | lib/libc/sys/shm_open.2 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/sys/shm_open.2 b/lib/libc/sys/shm_open.2 index 7b62e9a..b68e85b 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 |