access(FULLPATH, xxx);
Gary Kline
kline at thought.org
Sat Jan 14 00:05:19 UTC 2012
excuse this slip of memory, but do you need the full path PLUS the
filename to use access? or just the filename?
say that i'm i n ~/tmp/foob and want to deetermine wheether i can
access file foob. do i need to use "access("home/kline/tmp/foob", F_OK)"
or will "access("foob", F_OK)" do the trick? i have already rub
"chdir("~/tmp")" in main(). please note.
gary
--
Gary Kline kline at thought.org http://www.thought.org Public Service Unix
Journey Toward the Dawn, E-Book: http://www.thought.org
The 8.57a release of Jottings: http://jottings.thought.org
Twenty-five years of service to the Unix community.
More information about the freebsd-questions
mailing list