Some of these functions were slightly different from libc: - This strncpy() didn't pad the buffer with '\0' bytes beyond the end of the string; libc does the padding. This string.3 manual said that this strncpy() does "null-padding", but it didn't. - This strcmp() and strncmp() compared using char (which might be signed); libc compares using unsigned char.
13 lines
272 B
Lua
13 lines
272 B
Lua
clibrary {
|
|
name = "lib",
|
|
srcs = {
|
|
"./bts2str.c", "./btscat.c", "./btscmp.c",
|
|
"./btscpy.c", "./btszero.c", "./long2str.c",
|
|
"./str2bts.c", "./str2long.c", "./strindex.c",
|
|
"./strrindex.c", "./strzero.c",
|
|
},
|
|
deps = {
|
|
"./ack_string.h",
|
|
"modules+headers",
|
|
},
|
|
}
|