Main Page | Alphabetical List | Compound List | File List | Compound Members | File Members

logging.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include "xetpan.h"
#include "logging.h"
#include "conf.h"
#include "ui.h"

Include dependency graph for logging.c:

Include dependency graph

Functions

int a_Logging_redirect (XetPan *xetpan, const char *path)

Function Documentation

int a_Logging_redirect XetPan xetpan,
const char *  path
 

Redirect standard error to a log file. This is done because many GUI application launchers do not show the user the standard error even if the application did not start. Makes a backup of the old log file if it existed.

Parameters:
path a directory where the log file will be created.
Returns:
0 on success, system's errno otherwise.

Here is the call graph for this function:


Generated on Wed Oct 22 15:53:03 2003 for XetPan by doxygen 1.3.2