--- /dev/null
+.. role:: raw-html(raw)
+ :format: html
+
+.. |check| replace:: :raw-html:`✅`
+
+
-=============
-Date and Time
-=============
+=======================
+Date and Time Functions
+=======================
- ============= ===
- Function_Name C99
- ============= ===
- clock
- mktime ✅
- time
- asctime ✅
- ctime
- gmtime ✅
- localtime
- strftime
- ============= ===
+.. include:: check.rst
-=================== =====
+---------------
+Source location
+---------------
+
+- The main source for string functions is located at:
+ ``libc/src/time``
+
+---------------------
+Implementation Status
+---------------------
+
+============= =======
+Function_Name C99
+============= =======
+clock
+mktime |check|
+time
+asctime |check|
+ctime
+gmtime |check|
+localtime
+strftime
+============= =======
+
+=================== =======
Function_Name POSIX
-=================== =====
-asctime ✅
-asctime_r ✅
+=================== =======
+asctime |check|
+asctime_r |check|
clock
clock_getcpuclockid
clock_getres
-clock_gettime ✅
+clock_gettime |check|
clock_nanosleep
clock_settime
ctime
ctime_r
difftime
getdate
-gmtime ✅
-gmtime_r ✅
+gmtime |check|
+gmtime_r |check|
localtime
localtime_r
-mktime ✅
-nanosleep ✅
+mktime |check|
+nanosleep |check|
strftime
strptime
time
timer_getoverrun
timer_settime
tzset
-=================== =====
+=================== =======
-===========================
-Math Functions in LLVM-libc
-===========================
+==============
+Math Functions
+==============
-.. role:: raw-html(raw)
- :format: html
-
-.. |check| replace:: :raw-html:`✅`
+.. include:: check.rst
.. contents:: Table of Contents
:depth: 4
:local:
-Summary
-=======
+Source Locations
+================
-* This document tracks the status of the implementation of math functions in
- LLVM libc.
+- The main source is located at: `libc/src/math <https://github.com/llvm/llvm-project/tree/main/libc/src/math>`_.
+- The tests are located at: `libc/test/src/math <https://github.com/llvm/llvm-project/tree/main/libc/test/src/math>`_.
+- The floating point utilities are located at: `libc/src/__support/FPUtil <https://github.com/llvm/llvm-project/tree/main/libc/src/__support/FPUtil>`_.
Implementation Requirements / Goals
===================================
platforms.
-Source Locations
-================
-
-- The main source is located at: `libc/src/math <https://github.com/llvm/llvm-project/tree/main/libc/src/math>`_.
-- The tests are located at: `libc/test/src/math <https://github.com/llvm/llvm-project/tree/main/libc/test/src/math>`_.
-- The floating point utilities are located at: `libc/src/__support/FPUtil <https://github.com/llvm/llvm-project/tree/main/libc/src/__support/FPUtil>`_.
-
Add a new math function to LLVM libc
====================================
-=============================
-StdIO Functions in LLVM-libc
-=============================
-
--------
-Summary
--------
+===============
+StdIO Functions
+===============
-This document tracks the status of the implementation of stdio functions in LLVM
-Libc.
+.. include:: check.rst
---------------
Source location
============= =========
Function_Name Available
============= =========
-fopen YES
+fopen |check|
freopen
-fclose YES
-fflush YES
+fclose |check|
+fflush |check|
setbuf
setvbuf
ftell
fgetpos
-fseek YES
+fseek |check|
fsetpos
rewind
tmpfile
-clearerr YES
-feof YES
-ferror YES
-flockfile YES
-funlockfile YES
+clearerr |check|
+feof |check|
+ferror |check|
+flockfile |check|
+funlockfile |check|
============= =========
Operations on system files
============= =========
Function_Name Available
============= =========
-remove YES
+remove |check|
rename
tmpnam
============= =========
(f)getc
fgets
getchar
-fread YES
+fread |check|
(f)putc
-(f)puts YES
+(f)puts |check|
putchar
-fwrite YES
+fwrite |check|
ungetc
============= =========
-=============================
-String Functions in LLVM-libc
-=============================
+================
+String Functions
+================
--------
-Summary
--------
-
-This site tracks the status of the implementation of string functions in LLVM
-Libc. This includes a few extra functions that are not in string.h, such as
-functions converting strings to numbers.
+.. include:: check.rst
---------------
Source location
============= =========
Function Name Available
============= =========
-bzero YES
-bcmp YES
-memcpy YES
-memset YES
-memcmp YES
-memmove YES
+bzero |check|
+bcmp |check|
+memcpy |check|
+memset |check|
+memcmp |check|
+memmove |check|
============= =========
============= =========
Function Name Available
============= =========
-memchr YES
-memrchr YES
-memccpy YES
-mempcpy YES
+memchr |check|
+memrchr |check|
+memccpy |check|
+mempcpy |check|
============= =========
String Memory Functions
============= =========
Function Name Available
============= =========
-stpcpy YES
-stpncpy YES
-strcpy YES
-strncpy YES
-strcat YES
-strncat YES
-strdup YES
-strndup YES
+stpcpy |check|
+stpncpy |check|
+strcpy |check|
+strncpy |check|
+strcat |check|
+strncat |check|
+strdup |check|
+strndup |check|
============= =========
String Examination Functions
============= =========
Function Name Available
============= =========
-strlen YES
-strnlen YES
-strcmp YES
-strncmp YES
-strchr YES
-strrchr YES
-strspn YES
-strcspn YES
-strpbrk YES
-strstr YES
-strtok YES
-strtok_r YES
+strlen |check|
+strnlen |check|
+strcmp |check|
+strncmp |check|
+strchr |check|
+strrchr |check|
+strspn |check|
+strcspn |check|
+strpbrk |check|
+strstr |check|
+strtok |check|
+strtok_r |check|
============= =========
String Conversion Functions
============= =========
Function Name Available
============= =========
-atof YES
-atoi YES
-atol YES
-atoll YES
-strtol YES
-strtoll YES
-strtoul YES
-strtoull YES
-strtof YES
-strtod YES
-strtold YES
-strtoimax YES
-strtoumax YES
+atof |check|
+atoi |check|
+atol |check|
+atoll |check|
+strtol |check|
+strtoll |check|
+strtoul |check|
+strtoull |check|
+strtof |check|
+strtod |check|
+strtold |check|
+strtoimax |check|
+strtoumax |check|
============= =========
String Error Functions