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