嵌入式Linux综述

Linux内核的5大管理功能:

    文件管理、进程管理、设备管理、内存管理、网络管理。
    举例:printf  write
#include <stdio.h>
#include <unistd.h>

int main()
{
    printf("printf hello linux\n");
    write(1,"write hello linux\n",19);

    return 0;
}
通过实例可以看出printf,实际上也是调用系统函数write打印输出到终端的。

IO分类:

文件IO、标准IO、目录IO




posted @ 2019-08-13 09:59  嵌入式George  阅读(188)  评论(0)    收藏  举报