作業系統 Windows和UNIX系統呼叫示例

2021-10-21 11:32:47 字數 718 閱讀 7746

系統呼叫型別

windows

unix

程序控制

createprocess()

fork()

程序控制

exitprocess()

exit()

程序控制

waitforsingleobject()

wait()

檔案管理

createfile()

open()

檔案管理

readfile()

read()

檔案管理

writefile()

write()

檔案管理

closehandle()

close()

裝置管理

setconsolemode()

ioctl()

裝置管理

readconsole()

read()

裝置管理

writeconsole()

write()

資訊維護

getcurrentprocessid()

getpid()

資訊維護

settimer()

alarm()

資訊維護

sleep()

sleep()

通訊greatepipe()

pipe()

通訊create

windows作業系統

1.檢視埠 netstat ano netstat ano find 2檢視程序 tasklist 3.刪除程序 tskill 4.開啟程序管理器 taskmgr 5.ping 6.ipconfig all 7.f 8 cd cd.9.mkdir rmdir linux rm rf 10.dir 列...

歷代Windows作業系統

1985 年windows 1.0 正式推出,相信一些老一輩計算機使用者應該熟悉吧?1987年10 月推出windows 2.0 比windows 1.0 版有了不少進步,但自身不完善,效果不好。1990年5 月windows 3.0 版推出,期間微軟繼 2.0後還有代號為 286 386兩款系統,...

Windows作業系統的分層

一 層次結構 windows從總體上分為核心模式 kernel model 和使用者模式 user model 談到作業系統的核心模式和使用者模式,一般會和cpu的特權層聯絡起來。cpu有多個特權層,例如,intel的386cpu就有4個特權層,從第0層到第3層。其中第0層的特權最高,也就是可以執行...