Back to index

lightning-sunbird  0.9+nobinonly
Functions
nto.c File Reference
#include "primpl.h"
#include <setjmp.h>

Go to the source code of this file.

Functions

int socketpair (int foo, int foo2, int foo3, int sv[2])
void _MD_EarlyInit (void)
PRWord_MD_HomeGCRegisters (PRThread *t, int isCurrent, int *np)

Function Documentation

Definition at line 49 of file nto.c.

{
}
PRWord* _MD_HomeGCRegisters ( PRThread t,
int  isCurrent,
int np 
)

Definition at line 53 of file nto.c.

{
#ifndef _PR_PTHREADS
    if (isCurrent) {
    (void) setjmp(CONTEXT(t));
    }

    *np = sizeof(CONTEXT(t)) / sizeof(PRWord);
    return (PRWord *) CONTEXT(t);
#else
       *np = 0;
       return NULL;
#endif
}
int socketpair ( int  foo,
int  foo2,
int  foo3,
int  sv[2] 
)

Definition at line 43 of file nto.c.

{
       printf("error in socketpair\n");
       exit (-1);
}

Here is the call graph for this function:

Here is the caller graph for this function: