www.delorie.com/djgpp/doc/libc-2.01/libc_579.html   search  
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.


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

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997