lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


David Given wrote:
> There's no reason why you can't have a persistant
pointer to a file; dereference the pointer and the appropriate file is opened and a block read. This would trivialise the bulk of most program's file I/O; MULTICS did it years ago; but you can't do it on a Unix because the underlying design doesn't let you do that sort of thing. Sigh.

That sounds a lot like mmap().  Isn't it?

--Adam
--
Adam D. Moss   . ,,^^   adam@gimp.org   http://www.foxbox.org/   co:3