SmartFolder
1.0
SmartFolder is a way to search files on your system and group the results. The program will interpret search queries and create a folder with symbolic links to all the found matches.
|
Source file that contains the implementation for system calls wrapper functions used in our program. More...
#include "Syscall.h"
Functions | |
int | sfork () |
int | ssymlink (char *target, char *linkPath) |
char * | sbasename (char *fullPath) |
int | smkdir (char *path) |
FILE * | stouch (char *file) |
int | saccess (char *path) |
int | sunlink (char *file) |
int | srmdir (char *path) |
int | sgetpwuid (const char *userName) |
int | sgetgrgid (const char *groupName) |
int | slstat (const char *name, struct stat *statbuf) |
DIR * | sopendir (const char *name) |
int | schdir (const char *name) |
int | sclosedir (DIR *dp) |
struct dirent * | sreaddir (DIR *dir) |
int | sS_ISLNK (mode_t m) |
int | sS_ISDIR (mode_t m) |
int | sS_ISREG (mode_t m) |
char * | srealpath (const char *p, char *buf) |
Source file that contains the implementation for system calls wrapper functions used in our program.
|
inline |
access wrapper
path | file to check |
|
inline |
basename wrapper
fullPath | full path of the file |
|
inline |
chdir wrapper
name | directory to go to |
|
inline |
closedir wrapper
dp | directory to close |
|
inline |
fork wrapper
|
inline |
getgrnam->gr_gid wrapper
groupName | groupname to get gid from |
|
inline |
getpwnam->pw_uid wrapper
userName | the username to get uid from |
|
inline |
lstat wrapper
name | file to check |
statbuf | buffer to write info to |
|
inline |
mkdir wrapper
path | path to create |
|
inline |
opendir wrapper
name | directory to open |
struct dirent* sreaddir | ( | DIR * | dir | ) |
readdir wrapper
dir | directory to read |
|
inline |
realpath wrapper
p | file to get realpath from |
buf | buffer to write the realpath to (optional) |
|
inline |
rmdir wrapper
path | directory to remove |
|
inline |
S_ISDIR wrapper
m | file to check |
|
inline |
S_ISLNK wrapper
m | file to check |
|
inline |
S_ISREG wrapper
m | file to check |
|
inline |
symlink wrapper
target | real file |
linkPath | link path |
|
inline |
touch wrapper
file | file to create |
|
inline |
unlink wrapper
file | file to unlink |