aboutsummaryrefslogtreecommitdiff
path: root/src/libc.hff
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-24 07:04:02 +0200
committerlemon <lsof@mailbox.org>2022-08-24 07:04:02 +0200
commitd5c61681198527d70bc95f8ed10f19e881ac51b3 (patch)
tree5e82ecd7d5197cdf2c7c96ac628436fe1beff37f /src/libc.hff
parente5ed3b20351a2715fe88d9a5dbcc8e6757fe96aa (diff)
arch stuff
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;