diff options
| author | gingerBill <bill@gingerbill.org> | 2021-09-10 16:14:39 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-09-10 16:14:39 +0100 |
| commit | 9980f8106238671f0334932bf92ff57daaaa638e (patch) | |
| tree | b04f38f09f1b20b77d2397585e5882088419b0d9 /core/c/libc/string.odin | |
| parent | 297cdde14466cb5c9f0ea0ae79d7b54f11e9be88 (diff) | |
Add other constants to c and libc
Diffstat (limited to 'core/c/libc/string.odin')
| -rw-r--r-- | core/c/libc/string.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/c/libc/string.odin b/core/c/libc/string.odin index 822fe43c5..343bdd22d 100644 --- a/core/c/libc/string.odin +++ b/core/c/libc/string.odin @@ -38,7 +38,7 @@ foreign libc { strtok :: proc(s1: [^]char, s2: cstring) -> [^]char --- // 7.24.6 Miscellaneous functions - memset : proc(s: rawptr, c: int, n: size_t) -> rawptr : runtime.memset strerror :: proc(errnum: int) -> [^]char --- strlen :: proc(s: cstring) -> size_t --- } +memset : proc "c" (s: rawptr, c: int, n: size_t) -> rawptr : runtime.memset |