Posts Tagged ‘stat’
open, creat – open and possibly create a file or device
USAGE
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
int open(const char *pathname, int flags);
int open(const [...]
access – check user’s permissions for a file
USAGE
#include <unistd.h>
int access(const char *pathname, int mode);
DESCRIPTION
access() checks whether the process would be allowed to read, write or
test for [...]
Categories: A
