diff options
Diffstat (limited to 'source/cstring.elna')
| -rw-r--r-- | source/cstring.elna | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/source/cstring.elna b/source/cstring.elna index ec5cd7b..e21056a 100644 --- a/source/cstring.elna +++ b/source/cstring.elna @@ -2,25 +2,28 @@ v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. *) -proc memset(ptr: Pointer; c: Int; n: Word): ^Char +proc memset*(ptr: Pointer; c: Int; n: Word): ^Char extern -proc memcpy(dst: Pointer; src: Pointer; n: Word) +proc memcpy*(dst, src: Pointer; n: Word) extern -proc strcmp(s1: ^Char; s2: ^Char): Int +proc memcmp*(s1, s2: Pointer; n: Word): Int extern -proc strncmp(s1: ^Char; s2: ^Char; n: Word): Int +proc strcmp*(s1: ^Char; s2: ^Char): Int extern -proc strncpy(dst: ^Char; src: ^Char; dsize: Word): ^Char +proc strncmp*(s1: ^Char; s2: ^Char; n: Word): Int extern -proc strcpy(dst: ^Char; src: ^Char): ^Char +proc strncpy*(dst: ^Char; src: ^Char; dsize: Word): ^Char extern -proc strlen(ptr: ^Char): Word +proc strcpy*(dst: ^Char; src: ^Char): ^Char +extern + +proc strlen*(ptr: ^Char): Word extern end. |
