#include "savemgr.h"
#include "save.h"
#include <string.h>
#include <errno.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <fcntl.h>
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. |
int create_lock | ( | char * | path | ) |
Creates a lock file.
path | - Path to directory where lock will be created |
int free_lock | ( | int | fd, | |
char * | path | |||
) |
Frees a lock file.
fd | - Descriptor of lock | |
path | - Path to directory where lock is created |
int rmdir_with_content | ( | char * | name | ) |