討論串[理工] 101交大OS
共 5 篇文章
內容預覽:
看了前幾天版友問的這題,回文有點混亂,自己大概算出了答案. 把自己想法寫出來,順便想確定一下自己的概念對不對(有錯請糾正我). #include <stdio.h>. main(). {. char buffer[1024]="";. int i,pid;. if(fork()==0)stract(
(還有422個字)
內容預覽:
我講一下我的想法. 如果有錯 請強者幫我DEBUG看看. 我順便把程式修改成比較好看懂得樣子. #include <string.h>. #include <stdio.h>. #include <unistd.h>. main(). {. char buffer[1024]="";. int i,
(還有581個字)
內容預覽:
http://i.imgur.com/AdbhzUV.jpg. 想請問一下為何buffer[0]是共享的?. 不是應該buffer和buffer2都是ptr的嗎?. --. ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 42.72.88.51. ※ 文章網址: https://www.ptt
(還有62個字)
內容預覽:
兩題題目想請教各位大大!. 1.. https://imgur.com/KAtFgnr.jpg. 這題答案是E,想請問B哪裡錯了? 感覺process都要經過paging跟virtual memory很合理阿? 還請大大指教. 2.. https://imgur.com/AwNLe9X.jpg. 這
(還有102個字)