builtin: more libc fn definitions

pull/13259/head weekly.2022.04
Alexander Medvednikov 2022-01-24 06:14:31 +03:00
parent edf0bc365c
commit 216a505c2a
1 changed files with 9 additions and 0 deletions

View File

@ -177,6 +177,15 @@ fn C.strchr(s &char, c int) &char
[trusted]
fn C.getchar() int
[trusted]
fn C.strdup(s &char) &char
[trusted]
fn C.strncasecmp(s &char, s2 &char, n int) int
[trusted]
fn C.strcasecmp(s &char, s2 &char) int
[trusted]
fn C.strerror(int) &char