Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!ogicse!milton!rburgess From: rburgess@milton.u.washington.edu (Rick Burgess) Newsgroups: comp.lang.c Subject: access() ...is it standard Keywords: access() errno.h Message-ID: <1991Apr12.000040.10889@milton.u.washington.edu> Date: 12 Apr 91 00:00:40 GMT Organization: University of Washington Lines: 19 Is the routine "access(char *file_spec, int mode);" standard? My VAX/VMS C manual tells me it indicates existence and protection of files. One of the other programmers on campus told me of its existence on a compiler on the dynix system here, but I was not able to find the routine in the 2nd edition of K&R C Book. If this is not a standard, can anyone recommend a standard way of doing this or a recommended clear good right way to do it. Also: Does anyone wish to recommend any good supplement to ANSI C besides K&R 2nd edition? (if so please recommend away) Also: Neither was I able to find the "symbolic constants" (possibly VAX/VMSpeak) such as EPERM, ENOENT, ESRCH, EINTR, EIO,... which according to my VAX/VMS C manual reside in errno.h. Are these Ansi standard, or at least common?