Re: Time Question

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 08/08/97

On Sat, 9 Aug 1997, <Pure Krome> wrote:

>Is time in this case hours? and if so .. is it mud hours ?

man time
       time - get time in seconds

       #include <time.h>

       time_t time(time_t *t);

       time returns the time since 00:00:00 GMT, January 1, 1970,
       measured in seconds.

       If t is non null, the return value is also stored  in  the
       memory pointed to by t.

>can you also explain why it's st and not ch again please.

Because at the point store_to_char() is called, you don't have a ch
structure and it's reading from the stored char_file_u to put it in ch.

I didn't follow the conversation but I assume we're in store_to_char()
based on the code posted.

-- | Genius may have its limitations, but stupidity | is not thus handicapped. -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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