Linux kernel five major management functions:
Document management,
process management,
device management,
memory management, and
network management.
For example: printf write
#include <stdio.h>
#include <unistd.h>
int main()
{
printf("printf hello linux\n");
write(1,"write hello linux\n",19);
return 0;
}
x
10
1
2
3
4
int main()
5
{
6
printf("printf hello linux\n");
7
write(1,"write hello linux\n",19);
8
9
return 0;
10
}
Printf can be seen by way of example, and indeed the write system call to the terminal of the printed output.
IO classification:
File IO, standard IO, IO directory