646  



pthread__rwlockattr_destroy, pthread_rwlockattr_init  -
       -.



THR    #include <pthread.h>

int pthread_rwlockattr_destroy(

pthread_rwlockattr_t *attr) ;

int pthread_rwlockattr_init(pthread_rwlockattr_t *attr) ;



 pthread_rwlockattr_destroy()    -
    -.   , -
  att-z",      
pthread_rwlockattr_init ();        
 .     pthread_rwlockattr_destroy()
  ,   akkr,  -
 .

 pthread_rwlockattr_init ()    -
   - a t tr ,   -
   ,   .

  pthread_rwlockattr_init ()    -
   attr,       .

      -   
      -,  -
,       ( ),  
     -.

 

    pthread_rwlockattr_destroy()
Hpthread_rwlockattr_init ()   ;   -
   ,   .



 pthread_rwlockattr_destroy ()   , :

[EINVAL]      ,   attr, .
 pthread_rwlockattr_init ()  , :

[ENOMEM]           -
  .

      [EINTR].