Back to index

glibc  2.9
pthread_attr_getguardsize.c File Reference
#include <assert.h>
#include "pthreadP.h"

Go to the source code of this file.


int pthread_attr_getguardsize (pthread_attr_t *attr, size_t *guardsize) const

Function Documentation

int pthread_attr_getguardsize ( pthread_attr_t attr,
size_t guardsize 
) const

Definition at line 25 of file pthread_attr_getguardsize.c.

  struct pthread_attr *iattr;

  assert (sizeof (*attr) >= sizeof (struct pthread_attr));
  iattr = (struct pthread_attr *) attr;

  *guardsize = iattr->guardsize;

  return 0;

Here is the caller graph for this function: