From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,8d6d28959e2fd002 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-01-14 10:41:30 PST Newsgroups: comp.unix.osf.misc Path: gmd.de!xlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!sdd.hp.com!apollo.hp.com!netnews From: tatsu_s@apollo.hp.com (Seiichi Tatsukawa) Subject: Re: DCE manager code memory management Sender: usenet@apollo.hp.com (Usenet News) Message-ID: Date: Fri, 14 Jan 1994 17:16:57 GMT References: <1994Jan13.210309.24897@ctp.com> Nntp-Posting-Host: kumi.ch.apollo.hp.com Organization: Hewlett-Packard Corporation, Chelmsford, MA In article <1994Jan13.210309.24897@ctp.com> dmcco@ctp.com (David McCowan) writes: > The documentation indicates that I can switch between the >rpc_ss_allocate/rpc_ss_free and the malloc/free memory management >mechanisms. Just call malloc() in your manager code and copy the passed string into the allocated memory. Of course, the pointer to the malloc'ed area needs to be stored into the global variable protected by the mutex, or into the RPC context for the future reference. --- Seiichi -- + Seiichi Tatsukawa (^[$BN)@n@:0l^[(B) tatsu_s@apollo.hp.com + + Hewlett-Packard/Open Systems Software Division +