SilverScreen Solid Modeler

asctime

asctime

Previous topic Next topic  

asctime

Previous topic Next topic JavaScript is required for the print function  

StandardCLibrary

 

char *asctime( struct tm *tp )

 

struct tm *tp;      /* pointer to time structure */

 

 

 




Synopsis

#include "time.h"

 

The asctime function converts the time contained in the tm struct pointed to by tp into a static string of 26 characters. The string is null-terminated, and takes the form:

 

  "Mon Feb 13 14:46:37 1995\n"

 

 

Parameters

tp is the address of a struct tm that holds time information, as filled in by localtime or gmtime.

 

 

Return Value

The address of the static string is returned.

 

 

Comments

The same static string is used by all calls to asctime , successive calls will overwrite it.

 

 

See Also

ctime , localtime , gmtime