*参照元 [#ne0a96d9]
#backlinks

*説明 [#l0082196]
-パス: [[linux-2.6.33/fs/fcntl.c]]

-FIXME: これは何?
--説明


**引数 [#f9288826]
-int fd
--
-struct file * filp
-
--[[linux-2.6.33/file]]
-int on
--
-struct fasync_struct **fapp
--
--[[linux-2.6.33/fasync_struct]]


**返り値 [#fe0e2dae]
-int
--


**参考 [#o38756a0]


*実装 [#v3818e81]
 /*
  * fasync_helper() is used by almost all character device drivers
  * to set up the fasync queue, and for regular files by the file
  * lease code. It returns negative on error, 0 if it did no changes
  * and positive if it added/deleted the entry.
  */
 int fasync_helper(int fd, struct file * filp, int on, struct fasync_struct **fapp)
 {
 	if (!on)
 		return fasync_remove_entry(filp, fapp);
-
--[[linux-2.6.33/fasync_remove_entry()]]

 	return fasync_add_entry(fd, filp, fapp);
-
--[[linux-2.6.33/fasync_add_entry()]]

 }
 
 EXPORT_SYMBOL(fasync_helper);
-ライセンスに関係なくシンボルを公開する。
--[[linux-2.6.33/EXPORT_SYMBOL()]]


*コメント [#b46baa6c]


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS