source: trunk/minix/lib/other/settimeofday.c@ 10

Last change on this file since 10 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 202 bytes
Line 
1/*
2settimeofday.c
3*/
4
5#define stime _stime
6
7#include <sys/time.h>
8#include <time.h>
9
10int settimeofday(const struct timeval *tp, const void *tzp)
11{
12 /* Ignore time zones */
13 return stime(&tp->tv_sec);
14}
Note: See TracBrowser for help on using the repository browser.