📄 getpagesize.c
字号:
#include <stdio.h>#include <unistd.h>int main(){ char *comments[] = { "This file is auto-generated. Please do not edit.", "This value is the result of the getpagesize() call.", "We need this trickery to get a compile-time value for the page size.", NULL }; char **p = comments; while (*p != NULL) { printf("/* %s */\n", *p); p++; } printf("\n"); printf("#define CURRENT_PAGE_SIZE (%d)\n", getpagesize()); return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -