diff options
author | ru <ru@FreeBSD.org> | 2003-02-24 22:53:26 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-02-24 22:53:26 +0000 |
commit | 0dea5415679a9db700f2846b28d2d8ff833032c7 (patch) | |
tree | 9409aa78bd0bf64293f9e45238d4a82861b7663b /share/man/man3/pthread_mutexattr_getkind_np.3 | |
parent | 83d0e58172de7563f59519892b23c2fd0e80ca56 (diff) | |
download | FreeBSD-src-0dea5415679a9db700f2846b28d2d8ff833032c7.zip FreeBSD-src-0dea5415679a9db700f2846b28d2d8ff833032c7.tar.gz |
mdoc(7) police: Scheduled sweep.
Diffstat (limited to 'share/man/man3/pthread_mutexattr_getkind_np.3')
-rw-r--r-- | share/man/man3/pthread_mutexattr_getkind_np.3 | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/share/man/man3/pthread_mutexattr_getkind_np.3 b/share/man/man3/pthread_mutexattr_getkind_np.3 index 5cdfc26..8bb673c 100644 --- a/share/man/man3/pthread_mutexattr_getkind_np.3 +++ b/share/man/man3/pthread_mutexattr_getkind_np.3 @@ -30,7 +30,7 @@ .Sh NAME .Nm pthread_mutexattr_getkind_np , .Nm pthread_mutexattr_setkind_np -.Nd mutex attribute operations (LEGACY) +.Nd mutex attribute operations (legacy) .Sh LIBRARY .Lb libc_r .Sh SYNOPSIS @@ -40,45 +40,42 @@ .Ft int .Fn pthread_mutexattr_setkind_np "pthread_mutexattr_t *attr" "int kind" .Sh DESCRIPTION -These functions are DEPRECATED and NON-PORTABLE implementation of mutex types -manipulation. +.Bf -symbolic +These functions are deprecated and non-portable implementation of +the mutex type manipulation. +.Ef .Pp -It's recomended to use -.Fn pthread_mutexattr_gettype +It is recommended to use the +.Xr pthread_mutexattr_gettype 3 and -.Fn pthread_mutexattr_settype +.Xr pthread_mutexattr_settype 3 functions instead. .Sh RETURN VALUES The .Fn pthread_mutexattr_getkind_np -function returns positive value representing -.Ft kind -of mutex attribute +function returns a positive value representing the +.Dq kind +of the mutex attribute .Fa attr -if successful; otherwise the value -1 is returned and the global variable -.Fa errno +if successful; otherwise the value \-1 is returned and the global variable +.Va errno is set to indicate the error. .Pp -The -.Fn pthread_mutexattr_settype -function returns the value 0 if successful; otherwise -the value -1 is returned and the global variable -.Fa errno -is set to indicate the error. +.Rv -std pthread_mutexattr_setkind_np .Sh ERRORS The .Fn pthread_mutexattr_getkind_np and .Fn pthread_mutexattr_setkind_np functions will fail if: -.Bl -tag -witdh Er +.Bl -tag -width Er .It Bq Er EINVAL The value specified by .Fa attr -is invalid +is invalid. .El .Sh SEE ALSO -.Xr pthread_mutex_create 3 , -.Xr pthread_mutex_destroy 3 , .Xr pthread_mutexattr_gettype 3 , -.Xr pthread_mutexattr_settype 3 +.Xr pthread_mutexattr_settype 3 , +.Xr pthread_mutex_create 3 , +.Xr pthread_mutex_destroy 3 |