Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!tut.cis.ohio-state.edu!ucbvax!UMIX.CC.UMICH.EDU!krowitz%richter From: krowitz%richter@UMIX.CC.UMICH.EDU (David Krowitz) Newsgroups: comp.sys.apollo Subject: Re: ms_$mapl and fseek/fread Message-ID: <8910241542.AA02474@richter.mit.edu> Date: 24 Oct 89 15:42:57 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 19 The MS calls will create a file with a type-UID of "NIL". The Unix system I/O calls all use the stream I/O system, ie. files with types of UASC, UNSTRUCT, REC, etc. They can't read a NIL file because they don't know how to extract the data from the file (does the file have a header? does it have a record structure? etc.). What you probably want to do is to use either IOS_$CREATE or one of the Unix calls to create an UNSTRUCT file, (which is a stream I/O system file which has neither a header nor a record structure embedded in the file) close the file, and then re-open it with MS_$MAPL or with the Unix mapped-segment calls. -- David Krowitz krowitz@richter.mit.edu (18.83.0.109) krowitz%richter.mit.edu@eddie.mit.edu krowitz%richter.mit.edu@mitvma.bitnet (in order of decreasing preference)