Re: A question about the asctime func...

From: Chris Jacobson (fear@ATHENET.NET)
Date: 08/27/97


On 8/27/97 5:44 PM, Angus Mezick (angus@EDGIL.CCMAIL.COMPUSERVE.COM)
stated:

>     my question is, does the memory pointed to by tmstr go away at the end
>     of the function?  is this the same as going:
>     tmstr="present time";
I >think<, but Im not sure, that the asctime function uses a static
char[], so that it is really just temporary in that it will be erased
next time asctime is called (basically, a static char[] and passing back
a pointer to it, the way some functions do in Circle);

- Chris Jacobson


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST