Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

gfile.cc File Reference

#include <aconf.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <limits.h>
#include <string.h>
#include <pwd.h>
#include "GString.h"
#include "gfile.h"

Defines

#define PATH_MAX   1024

Functions

GStringgetHomeDir ()
GStringgetCurrentDir ()
GStringappendToPath (GString *path, char *fileName)
GStringgrabPath (char *fileName)
GBool isAbsolutePath (char *path)
GStringmakePathAbsolute (GString *path)
time_t getModTime (char *fileName)
GBool openTempFile (GString **name, FILE **f, char *mode, char *ext)
GBool executeCommand (char *cmd)
char * getLine (char *buf, int size, FILE *f)

Define Documentation

#define PATH_MAX   1024
 


Function Documentation

GString* appendToPath GString   path,
char *    fileName
 

GBool executeCommand char *    cmd
 

GString* getCurrentDir  
 

GString* getHomeDir  
 

char* getLine char *    buf,
int    size,
FILE *    f
 

time_t getModTime char *    fileName
 

GString* grabPath char *    fileName
 

GBool isAbsolutePath char *    path
 

GString* makePathAbsolute GString   path
 

GBool openTempFile GString **    name,
FILE **    f,
char *    mode,
char *    ext
 


Generated on Wed Nov 3 12:59:12 2004 for Lemur Toolkit by doxygen1.2.18