Deleted Added
full compact
pthread_rwlockattr_getpshared.3 (73339) pthread_rwlockattr_getpshared.3 (79366)
1.\" Copyright (c) 1998 Alex Nash
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
1.\" Copyright (c) 1998 Alex Nash
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: head/share/man/man3/pthread_rwlockattr_getpshared.3 73339 2001-03-02 09:59:58Z ru $
25.\" $FreeBSD: head/share/man/man3/pthread_rwlockattr_getpshared.3 79366 2001-07-06 16:46:48Z ru $
26.\"
27.Dd March 22, 1999
28.Dt PTHREAD_RWLOCKATTR_GETPSHARED 3
29.Os
30.Sh NAME
31.Nm pthread_rwlockattr_getpshared
32.Nd get the process shared attribute
33.Sh LIBRARY

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

53the default value.
54.El
55.Sh RETURN VALUES
56If successful, the
57.Fn pthread_rwlockattr_getpshared
58function will return zero. Otherwise an error number will be returned
59to indicate the error.
60.Sh SEE ALSO
26.\"
27.Dd March 22, 1999
28.Dt PTHREAD_RWLOCKATTR_GETPSHARED 3
29.Os
30.Sh NAME
31.Nm pthread_rwlockattr_getpshared
32.Nd get the process shared attribute
33.Sh LIBRARY

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

53the default value.
54.El
55.Sh RETURN VALUES
56If successful, the
57.Fn pthread_rwlockattr_getpshared
58function will return zero. Otherwise an error number will be returned
59to indicate the error.
60.Sh SEE ALSO
61.Xr pthread_rwlock_init 3 ,
62.Xr pthread_rwlockattr_init 3 ,
61.Xr pthread_rwlockattr_init 3 ,
63.Xr pthread_rwlockattr_setpshared 3
62.Xr pthread_rwlockattr_setpshared 3 ,
63.Xr pthread_rwlock_init 3
64.Sh STANDARDS
65The
66.Fn pthread_rwlockattr_getpshared
67function is expected to conform to
68.St -susv2 .
69.Sh ERRORS
70.Fn pthread_rwlockattr_getpshared
71may fail if:
72.Bl -tag -width Er
73.It Bq Er EINVAL
74The value specified by
75.Fa attr
76is invalid.
77.El
78.Sh HISTORY
79The
80.Fn pthread_rwlockattr_getpshared
81function first appeared in
82.Fx 3.0 .
64.Sh STANDARDS
65The
66.Fn pthread_rwlockattr_getpshared
67function is expected to conform to
68.St -susv2 .
69.Sh ERRORS
70.Fn pthread_rwlockattr_getpshared
71may fail if:
72.Bl -tag -width Er
73.It Bq Er EINVAL
74The value specified by
75.Fa attr
76is invalid.
77.El
78.Sh HISTORY
79The
80.Fn pthread_rwlockattr_getpshared
81function first appeared in
82.Fx 3.0 .