[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <time.h> int settimeofday(struct timeval *tp, ...); |
Sets the current GMT time. For compatibility, a second argument is accepted. See section gettimeofday, for information on the structure types.
Zero if the time was set, nonzero on error.
ANSI/ISO C | No |
POSIX | No |