best way to return (char *)
joe at gistdev.UUCP
joe at gistdev.UUCP
Sat Jun 24 00:17:00 AEST 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 at uxc.cso.uiuc.edu
(217) 352-1165 | UUCP : {uunet,pur-ee,convex}!uiucuxc!gistdev!joe
-------------------------------------------------------------------------------
More information about the Comp.lang.c
mailing list