Query: access
OS: bsd
Section: 3f
Links: bsd man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ACCESS(3F) ACCESS(3F)NAMEaccess - determine accessibility of a fileSYNOPSISinteger function access (name, mode) character*(*) name, modeDESCRIPTIONAccess checks the given file, name, for accessibility with respect to the caller according to mode. Mode may include in any order and in any combination one or more of: r test for read permission w test for write permission x test for execute permission (blank) test for existence An error code is returned if either argument is illegal, or if the file cannot be accessed in all of the specified modes. 0 is returned if the specified access would be successful.FILES/usr/lib/libU77.aSEE ALSOaccess(2), perror(3F)BUGSPathnames can be no longer than MAXPATHLEN as defined in <sys/param.h>. 4.2 Berkeley Distribution May 27, 1986 ACCESS(3F)
Related Man Pages |
---|
faccessat(2) - mojave |
access(2) - linux |
fstat(3f) - bsd |
lstat(3f) - bsd |
access(2) - freebsd |