Deleted Added
full compact
shmat.2 (109831) shmat.2 (131504)
1.\"
2.\" Copyright (c) 1995 David Hovemeyer <daveho@infocom.com>
3.\"
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 9 unchanged lines hidden (view full) ---

18.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25.\"
1.\"
2.\" Copyright (c) 1995 David Hovemeyer <daveho@infocom.com>
3.\"
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 9 unchanged lines hidden (view full) ---

18.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25.\"
26.\" $FreeBSD: head/lib/libc/sys/shmat.2 109831 2003-01-25 21:33:05Z alfred $
26.\" $FreeBSD: head/lib/libc/sys/shmat.2 131504 2004-07-02 23:52:20Z ru $
27.\"
28.Dd August 2, 1995
29.Dt SHMAT 2
30.Os
31.Sh NAME
32.Nm shmat ,
33.Nm shmdt
34.Nd attach or detach shared memory

--- 9 unchanged lines hidden (view full) ---

44.Ft int
45.Fn shmdt "const void *addr"
46.Sh DESCRIPTION
47The
48.Fn shmat
49system call
50attaches the shared memory segment identified by
51.Fa shmid
27.\"
28.Dd August 2, 1995
29.Dt SHMAT 2
30.Os
31.Sh NAME
32.Nm shmat ,
33.Nm shmdt
34.Nd attach or detach shared memory

--- 9 unchanged lines hidden (view full) ---

44.Ft int
45.Fn shmdt "const void *addr"
46.Sh DESCRIPTION
47The
48.Fn shmat
49system call
50attaches the shared memory segment identified by
51.Fa shmid
52to the calling process's address space. The address where the segment
52to the calling process's address space.
53The address where the segment
53is attached is determined as follows:
54.\"
55.\" These are cribbed almost exactly from Stevens, _Advanced Programming in
56.\" the UNIX Environment_.
57.\"
58.Bl -bullet
59.It
60If

--- 62 unchanged lines hidden ---
54is attached is determined as follows:
55.\"
56.\" These are cribbed almost exactly from Stevens, _Advanced Programming in
57.\" the UNIX Environment_.
58.\"
59.Bl -bullet
60.It
61If

--- 62 unchanged lines hidden ---