Hi.
I am wandering if there is a way to access (read/write) a
binary file in LISP. In fact, I need to access a binary
file created by C.
Thanks for your help in advance.
Gyesung.
-----------
······@vuse.vanderbilt.edu
In article <····················@vuse.vanderbilt.edu> ······@vuse.vanderbilt.edu (Gyesung Lee) writes:
>I am wandering if there is a way to access (read/write) a
>binary file in LISP. In fact, I need to access a binary
>file created by C.
Specify :ELEMENT-TYPE '(UNSIGNED-BYTE 8) in the call to OPEN, and use
READ-BYTE and WRITE-BYTE to read and write.
--
Barry Margolin
System Manager, Thinking Machines Corp.
······@think.com {uunet,harvard}!think!barmar