- #include "util.h"
- //------------------------------------------------------------------------
- void log(const char *text)
- {
- FILE *Flog;
- const char *s="c:\printer.log";
- Flog = fopen(s, "a+" );
- fwrite(text, strlen(text), 1, Flog);
- fwrite("n", strlen("n"), 1, Flog);
- fclose(Flog);
- }