Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!icdoc!qmw-cs!liam From: liam@cs.qmw.ac.uk (William Roberts) Newsgroups: comp.unix.questions Subject: Re: RPC programming Summary: RTFM - svc_freeargs Message-ID: <1767@sequent.cs.qmw.ac.uk> Date: 8 Mar 90 19:02:10 GMT References: <8008@cs.utexas.edu> <3744@incas.informatik.uni-kl.de> Reply-To: liam@cs.qmw.ac.uk (William Roberts) Distribution: comp Organization: Computer Science Dept, QMW, University of London, UK. Lines: 20 Expires: Sender: Followup-To: Keywords: If you've actually followed the examples and read the documentation, you should be using a loop of the form svc_getargs( .... stuff ... ) handle the call and do whatever your server is supposed to do svc_freeargs( .... stuff ... ) The svc_freeargs call releases all the memory malloc'd by the svc_getargs, and the argument list is identical. If you've done anything more complicated, then shame on you for not reading the documentation! -- William Roberts ARPA: liam@cs.qmw.ac.uk Queen Mary & Westfield College UUCP: liam@qmw-cs.UUCP Mile End Road AppleLink: UK0087 LONDON, E1 4NS, UK Tel: 01-975 5250 (Fax: 01-980 6533)