Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
w16null.c File Reference
#include "primpl.h"
#include <sys/timeb.h>

Go to the source code of this file.

Functions

 PR_Now (void)
char * _PR_MD_GET_ENV (const char *name)
PRIntn _PR_MD_PUT_ENV (const char *name)
int CALLBACK LibMain (HINSTANCE hInst, WORD wDataSeg, WORD cbHeapSize, LPSTR lpszCmdLine)
void _PR_MD_EARLY_INIT ()
void _PR_MD_WAKEUP_CPUS (void)

Variables

HINSTANCE _pr_hInstance = NULL
char * _pr_top_of_task_stack
_PRInterruptTable _pr_interruptTable [] = { { 0 } }

Function Documentation

Definition at line 105 of file w16null.c.

{
    _tzset();
    return;
}
char* _PR_MD_GET_ENV ( const char *  name)

Definition at line 84 of file w16null.c.

{
    return NULL;
}
PRIntn _PR_MD_PUT_ENV ( const char *  name)

Definition at line 90 of file w16null.c.

{
    return NULL;
}

Definition at line 112 of file w16null.c.

{
    return;
}    
int CALLBACK LibMain ( HINSTANCE  hInst,
WORD  wDataSeg,
WORD  cbHeapSize,
LPSTR  lpszCmdLine 
)

Definition at line 95 of file w16null.c.

{
    _pr_hInstance = hInst;
    return TRUE;
}
PR_Now ( void  )

Definition at line 66 of file w16null.c.

{
    PRInt64 s, ms, ms2us, s2us;
    struct timeb b;

    ftime(&b);
    LL_I2L(ms2us, PR_USEC_PER_MSEC);
    LL_I2L(s2us, PR_USEC_PER_SEC);
    LL_I2L(s, b.time);
    LL_I2L(ms, (PRInt32)b.millitm);
    LL_MUL(ms, ms, ms2us);
    LL_MUL(s, s, s2us);
    LL_ADD(s, s, ms);
    return s;       
}

Here is the call graph for this function:


Variable Documentation

Definition at line 43 of file w16null.c.

Definition at line 45 of file w16null.c.

Definition at line 44 of file w16null.c.