mirror of
https://github.com/clockworkpi/Menu.git
synced 2025-12-13 16:08:55 +01:00
13 lines
270 B
Plaintext
Executable File
13 lines
270 B
Plaintext
Executable File
|
|
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);
|
|
}
|
|
}
|