-
-
Notifications
You must be signed in to change notification settings - Fork 9
sys cstring
IsaacShelton edited this page Nov 13, 2022
·
5 revisions
sys/cstring.adept
contains symbols from <string.h>
.
foreign memcpy(out ptr, ptr, usize) ptr
foreign memmove(out ptr, ptr, usize) ptr
foreign strcpy(out *ubyte, *ubyte) *ubyte
foreign strncpy(out *ubyte, *ubyte, usize) *ubyte
foreign strcat(out *ubyte, *ubyte) *ubyte
foreign strncat(out *ubyte, *ubyte, usize) *ubyte
foreign memcmp(ptr, ptr, usize) int
foreign strcmp(*ubyte, *ubyte) int
foreign strcoll(*ubyte, *ubyte) int
foreign strncmp(*ubyte, *ubyte, usize) int
foreign memchr(ptr, int, usize) ptr
foreign strchr(*ubyte, int) *ubyte
foreign strcspn(*ubyte, *ubyte) usize
foreign strpbrk(*ubyte, *ubyte) *ubyte
foreign strrchr(*ubyte, ubyte) *ubyte
foreign strspn(*ubyte, *ubyte) usize
foreign strstr(*ubyte, *ubyte) *ubyte
foreign strtok(inout *ubyte, *ubyte) *ubyte
foreign memset(out ptr, ubyte, usize) ptr
foreign strlen(*ubyte) usize
foreign strerror(int) *ubyte
foreign strdup(*ubyte) *ubyte