/* list_entry - get the struct for this entry * @ptr: the &struct list_head pointer. * @type: the type of the struct this is embedded in. * @member: the name of the list_struct within the struct.*/ #define list_entry(ptr, type, member)
隨著 Linux 作業系統的廣泛應用,特別是 Linux 在嵌入式領域的發展,越來越多的人開始投身到 Linux 核心級的開發中。面對日益龐大的 Linux 核心原始碼,開發人員在完成自己的核心代碼後,都將面臨著同樣的問題,即如何將原始碼融入到 Linux 核心中,增加相應的 Linux 配置選項,並最終被編譯進 Linux 核心。這就需要瞭解 Linux 的核心配置系統。 眾所周知,Linux 核心是由分布在全球的 Linux 愛好者共同開發的,Linux 核心每天都面臨著許多新的變化。
安裝root使用者 sudo apt-get install root-system-binLINUX 下安裝 jdk 問題(please use alien to install rpm packages on Debian )文章分類:Java編程 在ubuntu裡安裝jdk時,出現提示資訊:rpm: please use alien to install rpm packages on Debian, if you are really sure use --force-debian
下載了一個Putty for Windows Mobile,在WM 6.1的手機上試了試,可以SSH登入到自己的Red Hat上。不過,手機沒有全鍵盤的支援,用起來非常難受。比如,用Emacs開啟一個檔案,要按Ctrl+X,Ctrl+C退出,在沒有鍵盤的手機上不知道怎麼輸入,只能結束Putty進程。想想N個月前雷聲大、雨點小的xpphone,用來在乘地鐵的時候寫寫程式也是蠻愜意的事情。 xpphone:
In one of our earlier articles, we learned how command line arguments are accessed from within the code. Here in this article, we will see how these command line arguments can be used by a Linux process to change its own name.Linux process that
轉自:http://www.wantso.com/ShowArtitle.ASP?art_id=8331&cat_id=16常用網路命令 在Red Hat Linux 7.1系統提供了與網路相關的工具,掌握好這些工具是十分必要的: 第一類:設定工具 1.netconf: netconf是Red Hat
copy local file to remote serverscp filename user@server:new_filenamescp -r dir user@server:new_dirit will make one connection from local to remotecopy remote file to localscp user@server:dir/file_name local_dir/new_filenamedefault dir is current
轉自:http://www.cppblog.com/kongque/archive/2011/03/07/141262.aspxcore dump的概念:A core dump is the recorded state of the working memory of a computer program at a specific time, generally when the program has terminated abnormally (crashed). In