|
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 mailing list archive is Copyright 1997-2025 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.