<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[weixin_44242524的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/weixin_44242524</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; weixin_44242524]]></copyright><item><title><![CDATA[计算机学习日志之系统级I/O]]></title><link>https://blog.youkuaiyun.com/weixin_44242524/article/details/103329093</link><guid>https://blog.youkuaiyun.com/weixin_44242524/article/details/103329093</guid><author>weixin_44242524</author><pubDate>Sun, 01 Dec 2019 00:01:07 +0800</pubDate><description><![CDATA[打开和关闭文件
进程时通过调用open函数来打开一个已存在的文件或者创建一个新文件的：
#include &lt;sys/types.h&gt;
#include &lt;sys/stat.h&gt;
#include &lt;fcntl.h&gt;

int open(char *filename, int flags, mode_t mode);
◆标准输入（fd=0）、标准输出（fd=1）和...]]></description><category></category></item><item><title><![CDATA[计算机系统fork函数学习日志]]></title><link>https://blog.youkuaiyun.com/weixin_44242524/article/details/103317146</link><guid>https://blog.youkuaiyun.com/weixin_44242524/article/details/103317146</guid><author>weixin_44242524</author><pubDate>Sat, 30 Nov 2019 17:27:58 +0800</pubDate><description><![CDATA[程序的加载和运行
问题：hello程序的加载和运行过程是怎样的？
step1：在shell命令行提示符后输入命令：$./hello，然后按下回车键
step2：在shell命令行解释器构造argv（参数列表）和envp（环境变量列表）

step3：调用fork()函数，创建一个子进程，和父进程shell完全相同（只读/共享），包括只读代码段、可读写数据段、堆以及用户栈等。
step4：调用exe...]]></description><category></category></item><item><title><![CDATA[计算机系统链接学习日志]]></title><link>https://blog.youkuaiyun.com/weixin_44242524/article/details/103240858</link><guid>https://blog.youkuaiyun.com/weixin_44242524/article/details/103240858</guid><author>weixin_44242524</author><pubDate>Tue, 26 Nov 2019 21:28:40 +0800</pubDate><description><![CDATA[怎样生成一个可执行文件（.o文件）
一个C的源程序文件变成一个可执行目标程序需要经历四步，预处理、编译、汇编、链接。
如C源程序“hello.c”，它的功能是输出“hello,world!”
#include &lt;stdio.h&gt;
int main()
{
	printf("hello,world!\n");
	return 0;
}
计算机不能直接执行hello.c，需经过以下步骤

...]]></description><category></category></item><item><title><![CDATA[学习日志：计算机系统的show-bytes代码的阅读以及在ubantu上的运行]]></title><link>https://blog.youkuaiyun.com/weixin_44242524/article/details/90579449</link><guid>https://blog.youkuaiyun.com/weixin_44242524/article/details/90579449</guid><author>weixin_44242524</author><pubDate>Thu, 30 May 2019 22:51:55 +0800</pubDate><description><![CDATA[代码总览
show-bytes
/* show-bytes - prints byte representation of data*/
/* $begin show-bytes /
#include &lt;stdio.h&gt;
/调用库函数stdio.h用于输入和输出函数如  printf和scanf等或者可用于一些指针的宏如NULL（空指针常量）/
/ $end show-bytes */...]]></description><category></category></item></channel></rss>