summaryrefslogtreecommitdiffstats
path: root/include/time.h
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2001-10-28 20:13:16 +0000
committerdillon <dillon@FreeBSD.org>2001-10-28 20:13:16 +0000
commitcdd5ebd3b2b4da560e1502d2af05a4eded9b8fc9 (patch)
tree1ed18984204d465714c14b43e94e4f3ac5eba93c /include/time.h
parent41f4e0eb175e0e1ec2c7fa0af905e97ed76996c7 (diff)
downloadFreeBSD-src-cdd5ebd3b2b4da560e1502d2af05a4eded9b8fc9.zip
FreeBSD-src-cdd5ebd3b2b4da560e1502d2af05a4eded9b8fc9.tar.gz
Add time_to_int(), int_to_time(), time_to_long(), long_to_time().
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index 6cff713..9143cbc 100644
--- a/include/time.h
+++ b/include/time.h
@@ -140,6 +140,10 @@ time_t time32_to_time __P((__int32_t t32));
__int32_t time_to_time32 __P((time_t t));
time_t time64_to_time __P((__int64_t t64));
__int64_t time_to_time64 __P((time_t t));
+long time_to_long __P((time_t t));
+time_t long_to_time __P((long tlong));
+int time_to_int __P((time_t t));
+time_t int_to_time __P((int tint));
#endif /* not ANSI */
#ifndef _ANSI_SOURCE
OpenPOWER on IntegriCloud