haiku/headers/posix/sys/timeb.h
Axel Dörfler 7ca5966a15 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-16 14:42:47 +00:00

28 lines
523 B
C

/*
* Copyright 2002-2006, Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _SYS_TIMEB_H
#define _SYS_TIMEB_H
#include <time.h>
struct timeb {
time_t time; /* seconds of current time */
unsigned short millitm; /* milliseconds of current time */
short timezone; /* timezone difference to GMT in minutes */
short dstflag; /* daylight saving flag */
};
extern
#ifdef __cplusplus
"C"
#endif
int ftime(struct timeb *timeb);
/* legacy */
#endif /* _SYS_TIMEB_H */