lib/filesys.cpp File Reference

(r16139/r16069)

#include "config.h"
#include <cstdio>
#include <fcntl.h>
#include <cerrno>
#include <sys/stat.h>
#include <sys/file.h>
#include <ctime>
#include <cstring>
#include <cstdlib>
#include <sys/time.h>
#include <unistd.h>
#include <dirent.h>
#include <sys/resource.h>
#include <sys/param.h>
#include <sys/mount.h>
#include <sys/statvfs.h>
#include "util.h"
#include "str_util.h"
#include "error_numbers.h"
#include "filesys.h"

Include dependency graph for filesys.cpp:


Defines

#define STATFS   statvfs

Functions

int is_file (const char *path)
int is_dir (const char *path)
int is_symlink (const char *path)
DIRREF dir_open (const char *p)
int dir_scan (char *p, DIRREF dirp, int p_len)
void dir_close (DIRREF dirp)
int boinc_delete_file (const char *path)
int file_size (const char *path, double &size)
int boinc_truncate (const char *path, double size)
int clean_out_dir (const char *dirpath)
int dir_size (const char *dirpath, double &size, bool recurse)

Variables

char boinc_failed_file [256]

Define Documentation

#define STATFS   statvfs


Function Documentation

int boinc_delete_file ( const char *  path  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int boinc_truncate ( const char *  path,
double  size 
)

Here is the caller graph for this function:

int clean_out_dir ( const char *  dirpath  ) 

Here is the call graph for this function:

void dir_close ( DIRREF  dirp  ) 

Here is the caller graph for this function:

DIRREF dir_open ( const char *  p  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int dir_scan ( char *  p,
DIRREF  dirp,
int  p_len 
)

Here is the caller graph for this function:

int dir_size ( const char *  dirpath,
double &  size,
bool  recurse 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int file_size ( const char *  path,
double &  size 
)

Here is the caller graph for this function:

int is_dir ( const char *  path  ) 

Here is the caller graph for this function:

int is_file ( const char *  path  ) 

Here is the caller graph for this function:

int is_symlink ( const char *  path  ) 

Here is the caller graph for this function:


Variable Documentation

char boinc_failed_file[256]


Generated on Mon Oct 6 10:40:44 2008 for BOINC by  doxygen 1.5.6