全部博文(10)
发布时间:2012-12-20 09:42:48
#include<stdio.h>#include<string.h>#include<fcntl.h>//#include<unistd.h>#define FILE "test.txt"voidcreate_file (int *fd){ *fd = creat (FILE, 0700); printf ("--->%d.\n", *fd); if (*fd == -1) { perror ("创建失败.\n"......【阅读全文】
发布时间:2012-12-19 20:54:36
#include<stdio.h>//#include<fcntl.h>//#include<unistd.h>voidcreatefile (int *fd){ *fd = creat ("test.txt", 0700); printf ("--->%d.\n", *fd); if (*fd == -1) { perror ("创建失败.\n"); return; } e......【阅读全文】
发布时间:2012-12-02 15:23:52
Printk function display on the console_tty under linux......【阅读全文】
发布时间:2012-12-01 16:32:41
Linux inline function use the assemble program......【阅读全文】