misc.h File Reference

#include <sys/types.h>

Include dependency graph for misc.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int ispath (const char *path)
 check if given path exists
int isdir (const char *path)
 check if given path is a directory
int isfile (const char *path)
 check if given path is a regular file
int islink (const char *path)
 check if given path is a symbolic link
int ismount (const char *path)
 check if given path is a top-level mount point
int mkdirnamep (const char *path, mode_t mode)
 recursive mkdir(2) with dirname(3)
int mkdirp (const char *path, mode_t mode)
 recursive mkdir(2)
int runlink (const char *path)
 recursive unlink(2) and rmdir(2)
char * readsymlink (const char *path)
 read contents of symlink
int copy_file (int srcfd, int dstfd)
 copy a file


Generated on Tue Jun 19 20:38:34 2007 for lucid by  doxygen 1.5.2