add 'strdup' reference to libc

This commit is contained in:
Zack Puhl
2025-06-23 12:58:46 +00:00
committed by Christoffer Lerno
parent affb722b23
commit adabae2a24
2 changed files with 2 additions and 0 deletions

View File

@@ -168,6 +168,7 @@ extern fn CInt strcmp(ZString str1, ZString str2);
extern fn CInt strcoll(ZString str1, ZString str2);
extern fn usz strcspn(ZString str1, ZString str2);
extern fn ZString strcpy(ZString dst, ZString src);
extern fn ZString strdup(ZString s);
extern fn ZString strerror(CInt errn);
extern fn usz strftime(char* dest, usz maxsize, ZString format, Tm* timeptr);
extern fn usz strlen(ZString str);