aboutsummaryrefslogtreecommitdiff
path: root/src/libc.hff
diff options
context:
space:
mode:
Diffstat (limited to 'src/libc.hff')
-rw-r--r--src/libc.hff2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libc.hff b/src/libc.hff
index a6c326c..0744d35 100644
--- a/src/libc.hff
+++ b/src/libc.hff
@@ -29,11 +29,13 @@ def PATH_MAX = 4096;
// string.h
extern fn strlen(s *const u8) usize;
extern fn strcmp(a *const u8, b *const u8) int;
+extern fn strncmp(a *const u8, b *const u8, usize) int;
extern fn memcmp(*const void, *const void, usize) int;
extern fn strcasecmp(a *const u8, b *const u8) int;
extern fn memcpy(*void, *const void, usize) *void;
extern fn strcpy(*u8, *const u8) *u8;
extern fn strerror(int) *const u8;
+extern fn strstr(*const u8, *const u8) *const u8;
// ctype.h
extern fn tolower(int) int;