summaryrefslogtreecommitdiff
path: root/libc/include/time.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/time.yaml')
-rw-r--r--libc/include/time.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/libc/include/time.yaml b/libc/include/time.yaml
index 3b9d77c0aaae..2f8024298fad 100644
--- a/libc/include/time.yaml
+++ b/libc/include/time.yaml
@@ -41,6 +41,19 @@ functions:
arguments:
- type: const time_t *
- type: char *
+ - name: localtime
+ standard:
+ - stdc
+ return_type: struct tm *
+ arguments:
+ - type: const time_t *
+ - name: localtime_r
+ standard:
+ - stdc
+ return_type: struct tm *
+ arguments:
+ - type: const time_t *
+ - type: struct tm *
- name: clock
standard:
- stdc