blob: 3973573064b4ce89161717c9c41816890a45a360 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
(* This Source Code Form is subject to the terms of the Mozilla Public License,
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/. *)
module
proc memset*#[T](ptr: ^T; c: Int; n: Word) -> ^Word8
extern
proc memcpy*#[T](dst: ^T; src: ^const T; n: Word)
extern
proc memcmp*#[T](s1, s2: ^const T; n: Word) -> Int
extern
proc strcmp*(s1: ^const Word8; s2: ^const Word8) -> Int
extern
proc strncmp*(s1: ^const Word8; s2: ^const Word8; n: Word) -> Int
extern
proc strncpy*(dst: ^Word8; src: ^const Word8; dsize: Word) -> ^Word8
extern
proc strcpy*(dst: ^Word8; src: ^const Word8) -> ^Word8
extern
proc strlen*(ptr: ^const Word8) -> Word
extern
end.
|