← 都来码 / Dolaima← 例程索引d/test/sysinfo.d 原文

d/test/sysinfo.d · 334 字节 · 下载原文

// sysinfo.d —— 全能接口 CALLJSON(#573) 自检:调用 sysinfo 并把返回的 JSON 整份打出来。
// sysinfo.d —— self-check of the all-purpose interface CALLJSON(#573): call sysinfo and print the whole returned JSON.

#include <vml_ui.d>
void main() {
    ui_call_json_s("sysinfo", "");
    ui_call_json_print();
}