Back to index

glibc  2.9
Functions
pthread_rwlockattr_getpshared.c File Reference
#include "pthreadP.h"

Go to the source code of this file.

Functions

int pthread_rwlockattr_getpshared (pthread_rwlockattr_t *attr, int *pshared) const

Function Documentation

int pthread_rwlockattr_getpshared ( pthread_rwlockattr_t *  attr,
int pshared 
) const

Definition at line 24 of file pthread_rwlockattr_getpshared.c.

{
  *pshared = ((const struct pthread_rwlockattr *) attr)->pshared;

  return 0;
}

Here is the caller graph for this function: