Back to index

glibc  2.9
Defines
fork.h File Reference
#include <sysdep.h>

Go to the source code of this file.

Defines

#define ARCH_FORK()

Define Documentation

#define ARCH_FORK ( )
Value:
({                                                             \
  register long __o0 __asm__ ("o0");                                  \
  register long __o1 __asm__ ("o1");                                  \
  register long __g1 __asm__ ("g1") = __NR_fork;               \
  __asm __volatile (__SYSCALL_STRING                                  \
                  : "=r" (__g1), "=r" (__o0), "=r" (__o1)             \
                  : "0" (__g1)                                 \
                  : __SYSCALL_CLOBBERS);                       \
  __o0 == -1 ? __o0 : (__o0 & (__o1 - 1));                            \
})

Definition at line 22 of file fork.h.