Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!masscomp!ulowell!page From: page@ulowell.UUCP Newsgroups: comp.sys.amiga Subject: Re: Where's CloseResource()? Message-ID: <1155@ulowell.cs.ulowell.edu> Date: Fri, 27-Mar-87 22:37:29 EST Article-I.D.: ulowell.1155 Posted: Fri Mar 27 22:37:29 1987 Date-Received: Sat, 28-Mar-87 18:08:07 EST References: <2831@well.UUCP> Reply-To: page@ulowell.cs.ulowell.edu (Bob Page) Distribution: world Organization: University of Lowell Lines: 19 Keywords: missing, kernel, function, sausage (Why is 'sausage' in the Keywords: line?) There isn't one. Resources do not need to be closed. OpenResource should really be called InitResource. Actually, future resources may have to be opened and closed like libraries and devices, so there should be a CloseResource, just so you get in the habit of doing it. Enclosed is a version of CloseResource you can use until 1.3. :-) int CloseResource() { return 0; } ..Bob -- Bob Page, U of Lowell CS Dept. ulowell!page, page@ulowell.CSNET