Go to the first, previous, next, last section, table of contents.


settimeofday

Syntax

#include <time.h>

int settimeofday(struct timeval *tp, ...);

Description

Sets the current GMT time. For compatibility, a second argument is accepted. See section gettimeofday for information on the structure types.

Return Value

Zero if the time was set, nonzero on error.

Portability

not ANSI, not POSIX


Go to the first, previous, next, last section, table of contents.