02 2021 档案
摘要:1.signal函数使用(mysig.c) #include<stdio.h> #include<signal.h> void myhandler(int sig) { printf("get sig is:%d\n",sig); } int main() { int i=1; for(;i<=31
阅读全文
摘要:方法一: #include<stdio.h> #include<string.h> int main() { char str[2000]; int i,num[256]={0};//必须初始化num数组。 printf("please input string\n"); scanf("%s",st
阅读全文
摘要:最近在研究linux-0.11内核源码,尝试在bochs中运行linux-0.11系统,并对其进行研究。本文先探讨环境的搭建。 1.宿主机win10-64位系统 2.bochs2.6.11 3.linux-0.11的引导镜像bootimage-0.11-20040305和根文件系统rootimage
阅读全文
浙公网安备 33010602011771号