Magellan Linux

Contents of /trunk/mkinitrd-magellan/klibc/usr/include/time.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 532 - (show annotations) (download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 8 months ago) by niro
File MIME type: text/plain
File size: 427 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd

1 /*
2 * time.h
3 */
4
5 #ifndef _TIME_H
6 #define _TIME_H
7
8 #include <klibc/extern.h>
9 #include <sys/time.h>
10
11 __extern time_t time(time_t *);
12 __extern int nanosleep(const struct timespec *, struct timespec *);
13
14 /* klibc-specific but useful since we don't have floating point */
15 __extern char *strtotimeval(const char *str, struct timeval *tv);
16 __extern char *strtotimespec(const char *str, struct timespec *tv);
17
18 #endif /* _TIME_H */