摘要:
ROOTFS_DIR = /opt/4412/rootfs MODULE_NAME = led_drvAPP_NAME = led_test CROSS_COMPILE = /home/george/Linux_4412/toolchain/gcc-4.6.4/bin/arm-none-linux- 阅读全文
posted @ 2022-04-26 23:48
major825
阅读(24)
评论(0)
推荐(0)
摘要:
#include <stdio.h>#include <string.h>#include <stdlib.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h> int main(int 阅读全文
posted @ 2022-04-26 23:47
major825
阅读(32)
评论(0)
推荐(0)
摘要:
#include <linux/init.h>#include <linux/module.h>#include <linux/fs.h>#include <linux/device.h>#include <linux/slab.h> #include <asm/uaccess.h>#include 阅读全文
posted @ 2022-04-26 23:46
major825
阅读(51)
评论(0)
推荐(0)
摘要:
#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>#include <pthread.h>#include <stdlib.h>#include <str 阅读全文
posted @ 2022-04-26 23:31
major825
阅读(58)
评论(0)
推荐(0)
摘要:
#include<stdio.h>#include<semaphore.h>#include<pthread.h>#include <string.h>#include <stdlib.h>int buf[] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17, 阅读全文
posted @ 2022-04-26 23:26
major825
阅读(26)
评论(0)
推荐(0)
摘要:
#include<stdio.h>#include<semaphore.h>#include<pthread.h>#include <string.h>#include <stdlib.h> struct data_t{ char name[20]; int id; int score;};stru 阅读全文
posted @ 2022-04-26 23:22
major825
阅读(26)
评论(0)
推荐(0)
摘要:
#include <stdio.h>#include <string.h>#include <sys/ipc.h>#include <sys/shm.h>#include <sys/types.h>#include <errno.h>#include <stdlib.h>#include <sign 阅读全文
posted @ 2022-04-26 23:16
major825
阅读(22)
评论(0)
推荐(0)
摘要:
#include <stdio.h>#include <string.h>#include <sys/ipc.h>#include <sys/shm.h>#include <sys/types.h>#include <errno.h>#include <stdlib.h>#include <sign 阅读全文
posted @ 2022-04-26 23:15
major825
阅读(29)
评论(0)
推荐(0)
浙公网安备 33010602011771号