× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Actually, the reason you can't (reliably) use access() from a CL program
is that CL cannot pass parameters by VALUE.  The second parameter to
access() is an integer passed by value, but since CL can only pass parms
by reference the API ends up getting a pointer instead of a value.

To the original poster:  This topic has been discussed many times before.
Please search the archives and/or web before asking a question.  Thanks!

On Tue, 3 Feb 2004, Vern Hamberg wrote:
>
> David mentioned the C stat() function - there is also the access() API
> function, which has a direct test for existence. It is reliable only in
> languages that can use pointers - I've used it successfully, IIRC, in CL,
> but that is an accident and not to be recommended.
>

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.