haiku/headers/posix/sys/timeb.h
Axel Dörfler 03360f3bb7 Added our versions of BeOS compatible sys/timeb.h, and sys/times.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 00:46:31 +00:00

27 lines
471 B
C

#ifndef _SYS_TIMEB_H
#define _SYS_TIMEB_H
/*
** Distributed under the terms of the OpenBeOS License.
*/
#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 */