Skip to Content
LINUX系統程式設計 第二版
book

LINUX系統程式設計 第二版

by Robert Love
December 2013
Intermediate to advanced
496 pages
8h 57m
Chinese
GoTop Information, Inc.
Content preview from LINUX系統程式設計 第二版
312
|
第八章
銷毀一個 inotify 實例
銷毀一個 inotify 實例以及任何相對應的檢視項目,跟關閉實例的檔案描述器一樣簡單:
int ret;
/* 'fd' 經由 inotify_init() 取得 */
ret = close (fd);
if (fd ==
1)
perror ("close");
當然,如同任何的檔案描述器,核心會自動關閉檔案描述器,並且在行程結束時清理
資源。
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

優雅的SciPy|Python科學研究的美學

優雅的SciPy|Python科學研究的美學

Juan Nunez-Iglesias, Stéfan van der Walt, Harriet Dashnow
C++语言导学(原书第2版)

C++语言导学(原书第2版)

本贾尼 斯特劳斯特鲁普

Publisher Resources

ISBN: 9789862769812