From: Christophe R. <cs...@ca...> - 2005-09-03 07:46:34
|
Steve Jenson <st...@po...> writes: > Thinking about this further, streams seem like the wrong abstraction > for what I'm doing. I am writing a generic record-based blob store. > Specifically, I'm rewriting the examples from the book "File > Structures" into CLOS. File streams support the file-position function, which seeks to a given position (which is a binary position if your stream is a binary stream) You don't want the sb-unix package unless you really know what you're doing, because that's an implementation-private package. If you want access to POSIX calls, you can use sb-posix, which is programmable (at least in theory) by reading the Unix man pages and imagining how it would be expressed in lisp... Cheers, Christophe |