access()
Lee Kolakowski
lfk at mbio.med.upenn.edu
Thu Feb 9 08:08:36 AEST 1989
What does ANSI say about the filename argument passed to the access()
function? Especially with regard to directorys.
For example, in RCS there are statements like
access("./RCS/", 000)
But under a supposedly ANSI compiler (MSC 5.1) these lines return an
error that says RCS/ does not exist when RCS/ is fine.
If the filename is "RCS" everything is just fine, and the proper
response is returned.
Is this the correct behavior?
Thanks!
--
Frank Kolakowski
____________________________________________________________________________
|lfk at mbio.med.upenn.edu || Lee F. Kolakowski |
|kolakowski at mscf.med.upenn. || Univ. of Penna. |
|c/o jes at eniac.seas.upenn.edu || Dept of Chemistry |
|kolakowski%c.chem.upenn.edu at relay.upenn.edu || 231 South 34th St. |
|kolakowski%d.chem.upenn.edu at relay.upenn.edu || Phila, PA 19104 |
|bcooperman.kolakowski at bionet-20.arpa ||--------------------------|
|AT&T: 1-215-898-2927 || One-Liner Here! |
=============================================================================
More information about the Comp.lang.c
mailing list