Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Linux 2.6.16 では、パスが存在しない場合、inotify_add_watch失敗し、errno をESUCCESS( ) に設定します。0これはどこに文書化されていますか?
inotify_add_watch
ESUCCESS
0
ctypesラッパーにエラーがあり、errno保存されていませんでした。解決策は に渡すuse_errno=TrueことCFUNCTYPEです。
ctypes
errno
use_errno=True
CFUNCTYPE