CE Add copy command
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 34s
Build documentation / build-and-deploy (push) Successful in 26s

This commit is contained in:
2026-04-12 21:27:06 +02:00
parent 245196b80f
commit bdce9ef7c5
3 changed files with 104 additions and 3 deletions

View File

@@ -22,3 +22,8 @@ void strbuf_append_str (struct strbuf* strbuf, const char* s) {
while (*s)
strbuf_append (strbuf, *s++);
}
void strbuf_append_n (struct strbuf* strbuf, const char* s, size_t n) {
for (size_t i = 0; i < n; i++)
strbuf_append (strbuf, s[i]);
}