ack/modules/src/string/build.lua
George Koehler 6367467499 Remove functions that also exist in libc.
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.
2017-11-09 23:35:54 -05:00

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",
},
}