Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!uxc.cso.uiuc.edu!uxc.cso.uiuc.edu!gistdev!joe From: joe@gistdev.UUCP Newsgroups: comp.lang.c Subject: Re: best way to return (char *) Message-ID: <7800014@gistdev> Date: 23 Jun 89 14:17:00 GMT References: <7800013@gistdev> Lines: 15 Nf-ID: #R:gistdev:7800013:gistdev:7800014:000:940 Nf-From: gistdev.UUCP!joe Jun 23 09:17:00 1989 Thanks for all the responses to my posting on the best way to return (char *) from a function! By the way, I was asked about the ridiculous "don't worry about the pointer being valid" option. I simply provided that for contrast, but I _have_ seen that type of thing in some bad programs. Anyway, if anyone else would like to contribute their $0.02 worth, send e-mail or reply, and I will sumarize if there is interest. ------------------------------------------------------------------------------- Joe Brownlee | Captain, please -- not in front of the Klingons. GIST, Inc. | -- Mr. Spock, Star Trek V 1800 Woodfield Dr. | Pay attention to what I say, and you might start a trend. Savoy, IL 61874 | ARPANET: joe%gistdev@uxc.cso.uiuc.edu (217) 352-1165 | UUCP : {uunet,pur-ee,convex}!uiucuxc!gistdev!joe -------------------------------------------------------------------------------