Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!glyph!ahh From: ahh@glyph.UUCP (Andy Heffernan) Newsgroups: comp.sys.amiga.tech Subject: Re: Port vs. MsgPort and other RKM oddities Summary: uvula Keywords: RKM, Port, CreateStdIO() Message-ID: <488@glyph.UUCP> Date: 25 Oct 89 21:32:58 GMT References: <4186@blake.acs.washington.edu> Reply-To: ahh@glyph.UUCP (Andy Heffernan) Organization: Tiffany Fan Club Headquarters Lines: 31 In article <4186@blake.acs.washington.edu> dlarson@blake.acs.washington.edu (Dale Larson) writes: [ munch ] >Not only is Port and MsgPort confused, but so is CreateStdIO() and >CreateExtIO(). Again, I can find no reference to CreateExtIO() in >the AutoDocs. I guess this is one of the problems people are refering Gee, my crummy old 1.2 autodocs have CreateStdIO() and CreateExtIO(). Look in the exec_support section. CreateStdIO() allocates enough memory for a IOStdReq structure and initializes it (appropriate for console.device manipulations, for example), while CreateExtIO() allocates the amount of memory you specify and initializes it (good for serial.device's IOExtSer). I've only seen the newer autodoc-generated manual once (and that was probably a year ago), but the two functions mentioned above are given in the 1.1 Addison-Wesley Exec manual, in Appendix B. They live in amiga.lib (still?) >In the pages below, all references to "struct Port" should apparently be >changed to "struct MsgPort" Ack, yes. > and all references to "CreateStdIO()" should >become "CreateExtIO()" Ack, no. -- ------------------------------------------------------------------------- Andy Heffernan uunet!glyph!ahh "Today is the first day of the rest of your long, miserable life" -- Dix.