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 kl...@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. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"