|
Time representationTime representationPosted Sep 13, 2006 19:35 UTC (Wed) by HenrikH (guest, #31152)In reply to: Time representation by rvfh Parent article: What you should (and shouldn't) expect from 64-bit Linux (Linux.com)
Who ever said that it was wise by the applications to use time_t ;-)
Anyways one reason that it is used is that time_t has excellent support in libc with conversion functions between localtime and UTC for current and historical dates. So one does not have to find another date library. Also since you get a time_t from the gettimeofday() systemcall one tend to use the very same variable in the application, it is not the the kernel is completely isolated into its own world.
(Log in to post comments)
|
Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.