2006-08-07 20:46:24 +04:00
|
|
|
/*
|
2010-11-04 01:04:50 +03:00
|
|
|
* Copyright 2006-2010 Haiku Inc. All Rights Reserved.
|
2006-08-07 20:46:24 +04:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _BSD_TIME_H_
|
|
|
|
#define _BSD_TIME_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include_next <time.h>
|
|
|
|
|
|
|
|
|
2015-04-16 08:29:58 +03:00
|
|
|
#ifdef _BSD_SOURCE
|
|
|
|
|
|
|
|
|
2006-08-07 20:46:24 +04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
time_t timelocal(struct tm *tm);
|
|
|
|
time_t timegm(struct tm *tm);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2015-04-16 08:29:58 +03:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2006-08-07 20:46:24 +04:00
|
|
|
#endif /* _BSD_TIME_H_ */
|