diff options
Diffstat (limited to 'std/stdlib.c')
| -rw-r--r-- | std/stdlib.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/std/stdlib.c b/std/stdlib.c index b50c0c5..f8df9e8 100644 --- a/std/stdlib.c +++ b/std/stdlib.c @@ -3,3 +3,11 @@ void wait(long long x) { sleep(x); } + +int len(char *str) { + return strlen(str); +} + +char charAt(char *str, int) { + return str[int]; +} |
