Added a _kern_get_timezone() syscall that can be used without needing to

re-evaluate the timezone file over and over.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16785 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-03-14 14:29:56 +00:00
parent 33dd85501f
commit f46bdd1c9a
3 changed files with 32 additions and 13 deletions
+1
View File
@@ -208,6 +208,7 @@ extern status_t _kern_stop_watching(dev_t device, ino_t node, uint32 flags,
// time functions
extern status_t _kern_set_real_time_clock(uint32 time);
extern status_t _kern_set_timezone(int32 timezoneOffset, bool daylightSavingTime);
extern status_t _kern_get_timezone(int32 *_timezoneOffset, bool *_daylightSavingTime);
extern status_t _kern_set_tzfilename(const char *filename, size_t length, bool isGMT);
extern status_t _kern_get_tzfilename(char *filename, size_t length, bool *_isGMT);