Checks a file to see whether a specified access mode is allowed. NOTE The access function does not accept network files as arguments. Format #include <unistd.h> int access (const char *file_spec, int mode);