From e9543de5ab1de08a452de4b9df705c43aa9ff6ac Mon Sep 17 00:00:00 2001 From: lemon Date: Fri, 19 Aug 2022 10:41:25 +0200 Subject: templates --- src/libc.hff | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libc.hff') diff --git a/src/libc.hff b/src/libc.hff index 2778a79..a6c326c 100644 --- a/src/libc.hff +++ b/src/libc.hff @@ -29,6 +29,7 @@ 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 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; -- cgit v1.2.3