libexplain  1.4.D001
Functions
libexplain/getppcwd.c File Reference
#include <libexplain/ac/unistd.h>
#include <libexplain/fileinfo.h>
#include <libexplain/getppcwd.h>

Go to the source code of this file.

Functions

char * explain_getppcwd (char *data, size_t data_size)

Function Documentation

char* explain_getppcwd ( char *  data,
size_t  data_size 
)

The explain_getppcwd function may be used to obtain the current directory of the parent process.

Parameters:
dataWhere to put the path of the parent process' current working directory.
data_sizeThe available room in the data bufer.
Returns:
NULL if fails, non-NULL if succeeds

Definition at line 27 of file getppcwd.c.