Artifact 9c55c30fa98cbb78d82c77d1a5854cbd091e6f82c653b836e6161f1cb7277ac5:
- File mod/kcli/testbin.exe.c — part of check-in [8d6b36fcac] at 2019-10-30 07:44:12 on branch trunk — factor out write buffer code so any module and libk users can call it; update documentation to match; add kssz string length function (user: lexi, size: 219) [annotate] [blame] [check-ins using]
#include <k/core.h> #include <k/cli.h> stat entry (kenv e) { kcli_set testbin = { "testbin", "1.0.0", e.args, e.argc, "this is a test of the kcli module", }; kcond c = kcli_usage(testbin, e.err); return c; }