From: Zoran V. <zv...@ar...> - 2005-05-30 11:02:53
|
Am 30.05.2005 um 12:01 schrieb Stephen Deasey: > > What's the return value of Ns_FSOpen? > Something that can be fed to Ns_FSRead and/or Ns_FSClose for example. I haven't started the implementation yet but this is first what comes to mind. Presumably, it will be Tcl_Channel in VFS or a regular OS filehandle w/o VFS. Is there any specific (hidden) reason why you took this particular exmaple? If you think about mmap, this should be wrapped entirely so you'd give a file to mmap and optionally the address to map it to. All the rest will be done by the implementation. Zoran |