GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PTHREAD_MUTEXATTR_SETKIND_NP (3)

NAME

pthread_mutexattr_getkind_np, pthread_mutexattr_setkind_np - mutex attribute operations (legacy)

CONTENTS

Library
Synopsis
Description
Return Values
Errors
See Also

LIBRARY


.Lb libpthread

SYNOPSIS


.In pthread_np.h int pthread_mutexattr_getkind_np pthread_mutexattr_t attr int pthread_mutexattr_setkind_np pthread_mutexattr_t *attr int kind

DESCRIPTION


.Bf -symbolic These functions are deprecated and non-portable implementation of the mutex type manipulation.
.Ef

It is recommended to use the pthread_mutexattr_gettype(3) and pthread_mutexattr_settype(3) functions instead.

RETURN VALUES

The pthread_mutexattr_getkind_np function returns a positive value representing the "kind" of the mutex attribute attr if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error.


.Rv -std pthread_mutexattr_setkind_np

ERRORS

The pthread_mutexattr_getkind_np and pthread_mutexattr_setkind_np functions will fail if:
[EINVAL]
  The value specified by attr is invalid.

SEE ALSO

pthread_mutexattr_gettype(3), pthread_mutexattr_settype(3), pthread_mutex_destroy(3), pthread_mutex_init(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.