u.c
来自「很好的mmap()驱动函数的it is a good driver for mm」· C语言 代码 · 共 17 行
C
17 行
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/mman.h>
int global=0;
void hello(void)
{
printf("unsigned long=%d\n",sizeof(unsigned long));
printf("hello\n");
global=145;
printf("global=%d\n",global);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?