📄 postat.c
字号:
#include <stdio.h>#include <string.h>extern int dump_privop_counts (char *buf, int len);extern int zero_privop_counts (char *buf, int len);intmain (int argc, char *argv[]){ static char buf[8192]; int res; if (argc == 1) res = dump_privop_counts (buf, sizeof (buf)); else if (argc == 2 && strcmp (argv[1], "--clear") == 0) res = zero_privop_counts (buf, sizeof (buf)); else { printf ("usage: %s [--clear]\n", argv[0]); return 1; } printf ("res=%d\n", res); fputs (buf, stdout); return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -