mirror of https://github.com/mkerrisk/man-pages
inotify_rm_watch.2, inotify.7: srcfix: Add FIXMEs for argument/field types
I submitted a patch to fix this. See the LKML thread "[patch] Fix type errors in inotify interfaces", 18 Nov 2008 If/when these patches are accepted, the pages need to be updated.
This commit is contained in:
parent
31546b461b
commit
24bbe02c17
|
@ -32,6 +32,9 @@ inotify_rm_watch \- remove an existing watch from an inotify instance
|
|||
.B #include <sys/inotify.h>
|
||||
.sp
|
||||
.BI "int inotify_rm_watch(int " fd ", uint32_t " wd );
|
||||
.\" FIXME . The type of the second argument should probably be "int".
|
||||
.\" I submitted a patch to fix this. See the LKML thread
|
||||
.\" "[patch] Fix type errors in inotify interfaces", 18 Nov 2008
|
||||
.SH DESCRIPTION
|
||||
.BR inotify_rm_watch ()
|
||||
removes the watch associated with the watch descriptor
|
||||
|
|
|
@ -97,6 +97,9 @@ returns a buffer containing one or more of the following structures:
|
|||
|
||||
struct inotify_event {
|
||||
int wd; /* Watch descriptor */
|
||||
.\" FIXME . The type of the 'wd' field should probably be "int32_t".
|
||||
.\" I submitted a patch to fix this. See the LKML thread
|
||||
.\" "[patch] Fix type errors in inotify interfaces", 18 Nov 2008
|
||||
uint32_t mask; /* Mask of events */
|
||||
uint32_t cookie; /* Unique cookie associating related
|
||||
events (for rename(2)) */
|
||||
|
|
Loading…
Reference in New Issue