@node settime, time @findex settime @subheading Syntax @example #include void settime(struct time *ptr); @end example @subheading Description This function sets the current time. For the description of @code{struct time}, see @ref{gettime}. Also see @ref{setdate}. @subheading Return Value None. @subheading Portability @portability !ansi, !posix @subheading Example @example struct time t; settime(&t); @end example