Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!apollo!mishkin From: mishkin@apollo.COM (Nathaniel Mishkin) Newsgroups: comp.sys.apollo Subject: Re: Opening a stream to nil files Message-ID: <43fb73f3.1d6d5@apollo.COM> Date: 22 Jun 89 12:31:00 GMT References: <8906211239.AA02260@umix.cc.umich.edu> Reply-To: mishkin@apollo.com (Nathaniel Mishkin) Organization: Apollo Computer, Chelmsford, MA Lines: 14 In article <8906211239.AA02260@umix.cc.umich.edu> FERGUSON@TMASL.EXXON.COM writes: >To access files with type nil, you must use the Mapped Segment Manager, >or ms_$ calls. The call, ms_$mapl, will open the file, and you can >directly map whatever byte you want in the file to a pointer in your >program. FYI, at sr10 and later, files of type "nil" can be read using standard stream I/O calls (open, close, read, write, etc.). Further, you can make "nil" type files readable by stream I/O at sr9.7 by obty'ing them to the type "unstruct". -- -- Nat Mishkin Apollo Computer Inc., Chelmsford, MA mishkin@apollo.com