#include <pandabase.h>
#include "pprerror.h"
#include "config_net.h"
#include <prerror.h>
#include <prprf.h>
#include <prmem.h>
#include <stdarg.h>
#include <stdio.h>
Go to the source code of this file.
Functions | |
const char * | get_error_message (PRErrorCode code) |
A local function to this module, it returns a sensibly formatted string to describe the given NSPR error code. | |
void | pprerror (const char *format,...) |
A handy function like perror(). |
Definition in file pprerror.cxx.
|
A local function to this module, it returns a sensibly formatted string to describe the given NSPR error code. The strings in this function were extracted from the NSPR documentation web site. Definition at line 92 of file pprerror.cxx. |
|
A handy function like perror(). It outputs the printf-style format string and its arguments, followed by a colon and the NSPR-given description of its current error state. Definition at line 49 of file pprerror.cxx. Referenced by NetAddress::clear(), ConnectionReader::process_incoming_data(), and ConnectionListener::receive_datagram(). |