Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ access(2) — Purdue Xinu

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

open(2)

ckmode(3)

ACCESS(2)

NAME

access − determine whether a file is accessible

SYNOPSIS

int access(filename, mode)
char∗filename;
char∗mode;

DESCRIPTION

Access examines file with name filename to determine if it is accessible according to the modes specified in the mode string mode.  Valid characters in the mode string are r (check for read access) w (check for write access), n (check to see if a new  file can be created), and o (check to see if file exists).  If neither r nor w is specified, both are assumed. 

SEE ALSO

open(2), ckmode(3)

December 01, 1986  —  Xinu Programmer’s Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026