savemgr.c File Reference

#include "savemgr.h"
#include "save.h"
#include <string.h>
#include <errno.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <fcntl.h>
Include dependency graph for savemgr.c:

Functions

int rmdir_with_content (char *name)
int create_lock (char *path)
 Creates a lock file.
int free_lock (int fd, char *path)
 Frees a lock file.

Function Documentation

int create_lock ( char *  path  ) 

Creates a lock file.

Parameters:
path - Path to directory where lock will be created
Returns:
0 on success, -1 othewise
int free_lock ( int  fd,
char *  path 
)

Frees a lock file.

Parameters:
fd - Descriptor of lock
path - Path to directory where lock is created
Returns:
0 on success, -1 othewise
int rmdir_with_content ( char *  name  ) 

Here is the call graph for this function:

Generated on Mon Nov 15 10:27:14 2010 for Tales of Paraverse by  doxygen 1.6.3