Back to index

glibc  2.9
Defines | Functions | Variables
forward.c File Reference
#include <dlfcn.h>
#include <pthreadP.h>
#include <signal.h>
#include <stdlib.h>
#include <shlib-compat.h>
#include <atomic.h>
#include <sysdep.h>

Go to the source code of this file.

Defines

#define FORWARD2(name, rettype, decl, params, defaction)
#define FORWARD(name, decl, params, defretval)   FORWARD2 (name, int, decl, params, return defretval)
#define return   /* value is void */

Functions

 FORWARD (pthread_attr_destroy, FORWARD((pthread_attr_t *attr), FORWARD((attr), 0)

Variables

int __libc_pthread_functions_init attribute_hidden

Define Documentation

#define FORWARD (   name,
  decl,
  params,
  defretval 
)    FORWARD2 (name, int, decl, params, return defretval)

Definition at line 45 of file forward.c.

#define FORWARD2 (   name,
  rettype,
  decl,
  params,
  defaction 
)
Value:
rettype                                                                     \
name decl                                                            \
{                                                                    \
  if (!__libc_pthread_functions_init)                                       \
    defaction;                                                              \
                                                                     \
  return PTHFCT_CALL (ptr_##name, params);                                  \
}

Definition at line 35 of file forward.c.

#define return   /* value is void */

Function Documentation

FORWARD ( pthread_attr_destroy  ,
FORWARD (pthread_attr_t *attr),
FORWARD (attr),
 
)

Definition at line 49 of file forward.c.

                                              {
                     /* We cannot call abort() here.  */
                     INTERNAL_SYSCALL_DECL (err);
                     INTERNAL_SYSCALL (kill, err, 1, SIGKILL);
                   })

Here is the call graph for this function:


Variable Documentation

int __libc_pthread_functions_init attribute_hidden

Definition at line 32 of file forward.c.