On Thu, 17 Oct 2002, Martin Cracauer wrote:
> (int-syscall ("open64" c-string int int) "/tmp/l" 0 0)According to the Solaris and Linux open(2) man pages, plain open with O_LARGEFILE should work as well. > Now the extra-value question: who of you can name the symbols for 64 > bit lseek support within 30 minutes? Try llseek. This too is on both Solaris and Linux man pages, however it doesn't seem to be standard. On the C level, plain lseek should do as long as the compilation flags are correct, but I gather that is implemented by the preprocessor tricks you alluded to, and thus wouldn't be of use if CMUCL does direct syscalls. Caution: The above is based on man pages and some Googling, I haven't actually tried it out. Relevant links: http://ftp.sas.com/standards/large.file/x_open.20Mar96.html http://www.suse.de/~aj/linux_lfs.html Hannu Rummukainen
