Back to index

lightning-sunbird  0.9+nobinonly
Functions
rl.c File Reference
#include "rl.h"
#include "plstr.h"

Go to the source code of this file.

Functions

 RLInit (void)
 RLTrace (const char *fmtstr,...)

Function Documentation

RLInit ( void  )

Definition at line 42 of file rl.c.

{
}
RLTrace ( const char *  fmtstr,
  ... 
)

Definition at line 47 of file rl.c.

{
    char* str;
    va_list ap;
    va_start(ap, fmtstr);

    str = PR_vsmprintf(fmtstr, ap);
    if (str) {
        PR_Write(PR_STDERR, str, PL_strlen(str));
        PR_smprintf_free(str);
    }
}