first commit

This commit is contained in:
cpi
2019-07-02 03:32:09 +00:00
commit 7a4ac89f62
2128 changed files with 23626 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
func append_log(format. char, ...) {
import rt::c;
define {
filename = "bean.log";
}
var stream void = fopen(filename, "a");
if stream ~= null {
vfprintf(stream, format, va_start(format));
fclose(stream);
}
}