musl/src/time
Rich Felker eca335fc04 eliminate explicit (long) casts when making syscalls
this practice came from very early, before internal/syscall.h defined
macros that could accept pointer arguments directly and handle them
correctly. aside from being ugly and unnecessary, it looks like it
will be problematic when we add support for 32-bit ABIs on archs where
registers (and syscall arguments) are 64-bit, e.g. x32 and mips n32.
2014-01-06 22:05:54 -05:00
..
__asctime.c rework langinfo code for ABI compat and for use by time code 2013-07-24 18:52:02 -04:00
__map_file.c remove O_NOFOLLOW from __map_file used for time zone file loading 2013-11-08 21:33:42 -05:00
__month_to_secs.c the big time handling overhaul 2013-07-17 05:24:50 -04:00
__secs_to_tm.c the big time handling overhaul 2013-07-17 05:24:50 -04:00
__tm_to_secs.c the big time handling overhaul 2013-07-17 05:24:50 -04:00
__tz.c fix handling of overly-long TZ environment variable values 2013-11-08 20:50:59 -05:00
__year_to_secs.c the big time handling overhaul 2013-07-17 05:24:50 -04:00
asctime.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
asctime_r.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
clock.c fix overflow behavior of clock() function 2013-05-23 14:31:02 -04:00
clock_getcpuclockid.c support cputime clocks for processes/threads other than self 2013-06-08 11:36:41 -04:00
clock_getres.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
clock_gettime.c use weak aliase rather than weak reference for vdso clock_gettime 2011-08-07 15:48:16 -04:00
clock_nanosleep.c overhaul pthread cancellation 2011-04-17 11:43:03 -04:00
clock_settime.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
ctime.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
ctime_r.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
difftime.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
ftime.c add legacy ftime function and sys/timeb.h 2013-10-25 14:15:08 -04:00
getdate.c more close-on-exec fixes, mostly using new "e" flag to fopen 2012-09-29 18:14:46 -04:00
gettimeofday.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
gmtime.c the big time handling overhaul 2013-07-17 05:24:50 -04:00
gmtime_r.c fix strftime handling of time zone data 2013-08-24 12:59:02 -04:00
localtime.c the big time handling overhaul 2013-07-17 05:24:50 -04:00
localtime_r.c fix hangs in localtime for near-overflowing time_t values on 64-bit archs 2013-12-19 05:05:13 -05:00
mktime.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
nanosleep.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
strftime.c fix off-by-one length failure in strftime/wcsftime and improve error behavior 2013-11-26 20:01:21 -05:00
strptime.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
time.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
time_impl.h the big time handling overhaul 2013-07-17 05:24:50 -04:00
timegm.c fix strftime handling of time zone data 2013-08-24 12:59:02 -04:00
timer_create.c have new timer threads unblock their own SIGTIMER 2013-08-03 17:10:42 -04:00
timer_delete.c eliminate explicit (long) casts when making syscalls 2014-01-06 22:05:54 -05:00
timer_getoverrun.c eliminate explicit (long) casts when making syscalls 2014-01-06 22:05:54 -05:00
timer_gettime.c eliminate explicit (long) casts when making syscalls 2014-01-06 22:05:54 -05:00
timer_settime.c eliminate explicit (long) casts when making syscalls 2014-01-06 22:05:54 -05:00
times.c do not interpret errors in return value of times() syscall 2013-05-05 14:19:37 -04:00
utime.c linux deprecated SYS_utime on some archs, so use SYS_utimes instead 2012-05-24 10:55:58 -04:00
wcsftime.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00