⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 host_lib.c

📁 minimal python variant for small footprint apps like embedded apps
💻 C
字号:
/*  Logging using the PalmOS Host* services.*/#include <PalmOS.h>#include "stdio.h"static HostFILE *logfile = NULL;void host_printf(char *message){        if (logfile == NULL) {                logfile = HostFOpen("palm_intern_strings.log", "w");                if (logfile == NULL){                        printf("problem opening log file\n");                        return;                }        }        HostFPrintF(logfile, message);        HostFPrintF(logfile, "\n");        HostFFlush (logfile);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -