Back to index

glibc  2.9
Functions | Variables
dbg_log.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void dbg_log (const char *str,...) __attribute__((__format__(__printf__
void void set_logfile (const char *logfile)
int init_logfile (void)

Variables

int debug_level

Function Documentation

void dbg_log ( const char *  str,
  ... 
)
int init_logfile ( void  )

Definition at line 42 of file dbg_log.c.

{
  if (logfilename)
    {
      dbgout = fopen64 (logfilename, "a");
      return dbgout == NULL ? 0 : 1;
    }
  return 1;
}

Here is the caller graph for this function:

void void set_logfile ( const char *  logfile)

Definition at line 36 of file dbg_log.c.

{
  logfilename = strdup (logfile);
}

Here is the caller graph for this function:


Variable Documentation

Definition at line 33 of file dbg_log.c.