added _get_tzfilename

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10179 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2004-11-22 17:33:43 +00:00
parent f92e8b3361
commit 56d0b9b6db

View File

@ -18,7 +18,9 @@ static struct real_time_data sRealTimeDefaults = {
0,
100000,
0,
0
false,
"",
true
};
static struct real_time_data *sRealTimeData;
@ -87,3 +89,13 @@ set_alarm(bigtime_t when, uint32 flags)
// ToDo: set_alarm()
return B_ERROR;
}
void
_get_tzfilename(char* filename, size_t length)
{
if (filename == NULL)
return;
strlcpy(filename, sRealTimeData->tzfilename, length);
}