mes/include
Jan Nieuwenhuizen 094bdac0bd
core: Support time functions.
* lib/linux/clock_gettime.c: New file, move from gnu.c.
* lib/linux/gettimeofday.c: New file, move from tcc.c.
* lib/linux/time.c: New file, move from tcc.c.
* lib/linux/libc.c: Include them.
* lib/linux/gnu.c (clock_gettime): Remove.
* lib/linux/tcc.c (time, gettimeofday): Remove.
* include/time.h (CLOCK_PROCESS_CPUTIME_ID): New define.
* src/posix.c (init_time, current_time, gettimeofday_,
seconds_and_nanoseconds_to_long, get_internal_run_time): New function.
* src/mes.c (scm_symbol_internal_time_units_per_second): New symbol.
(main): Call init_time.
2018-10-20 14:18:04 +02:00
..
linux mescc: Mes C Library: Fix execve on x86_64. 2018-10-06 22:38:28 +02:00
sys mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
alloca.h GNU Mes. 2018-07-22 14:24:36 +02:00
ar.h mescc: Mes C Library: Support make: Add chdir, getlogin, setvbuf, sigblock. 2018-08-26 22:41:52 +02:00
argz.h GNU Mes. 2018-07-22 14:24:36 +02:00
assert.h GNU Mes. 2018-07-22 14:24:36 +02:00
ctype.h GNU Mes. 2018-07-22 14:24:36 +02:00
dirent.h mescc: Mes C Library: Add closedir, opendir, readdir. 2018-08-26 18:34:53 +02:00
dirstream.h mescc: Mes C Library: Add closedir, opendir, readdir. 2018-08-26 18:34:53 +02:00
dlfcn.h GNU Mes. 2018-07-22 14:24:36 +02:00
endian.h GNU Mes. 2018-07-22 14:24:36 +02:00
errno.h mescc: Mes C Library: Support make: Add chdir, getlogin, setvbuf, sigblock. 2018-08-26 22:41:52 +02:00
fcntl.h mescc: Mes C Library: Add closedir, opendir, readdir. 2018-08-26 18:34:53 +02:00
features.h GNU Mes. 2018-07-22 14:24:36 +02:00
float.h GNU Mes. 2018-07-22 14:24:36 +02:00
getopt.h GNU Mes. 2018-07-22 14:24:36 +02:00
inttypes.h GNU Mes. 2018-07-22 14:24:36 +02:00
libgen.h GNU Mes. 2018-07-22 14:24:36 +02:00
libmes-mini.h mescc: Cleanup includes. 2018-08-19 11:17:57 +02:00
libmes.h mescc: Mes C Library: oputs: New function. 2018-10-15 15:44:47 +02:00
limits.h mescc: Add INTn_MIN/MAX defines to stdint.h. 2018-10-16 20:40:41 +02:00
locale.h mescc: Support gcc-3.0: Locale header fix. 2018-09-11 07:01:33 +02:00
math.h mescc: Mes C Library: Explode libc+gnu.c. 2018-08-24 20:57:34 +02:00
memory.h GNU Mes. 2018-07-22 14:24:36 +02:00
pwd.h GNU Mes. 2018-07-22 14:24:36 +02:00
setjmp.h mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
signal.h mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
stdarg.h mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
stdbool.h GNU Mes. 2018-07-22 14:24:36 +02:00
stddef.h mescc: Mes C Library: Do not redefine size_t. 2018-09-01 16:55:45 +02:00
stdint.h mescc: Add INTn_MIN/MAX defines to stdint.h. 2018-10-16 20:40:41 +02:00
stdio.h mescc: Mes C Library: Support make: Add chdir, getlogin, setvbuf, sigblock. 2018-08-26 22:41:52 +02:00
stdlib.h GNU Mes. 2018-07-22 14:24:36 +02:00
stdnoreturn.h GNU Mes. 2018-07-22 14:24:36 +02:00
string.h mescc: Mes C Library: Support make: Add chdir, getlogin, setvbuf, sigblock. 2018-08-26 22:41:52 +02:00
strings.h GNU Mes. 2018-07-22 14:24:36 +02:00
time.h core: Support time functions. 2018-10-20 14:18:04 +02:00
unistd.h mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00