From 24bbe02c1738fe3a5903324e723816fd5c77f8d3 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 18 Nov 2008 15:47:33 -0500 Subject: [PATCH] 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. --- man2/inotify_rm_watch.2 | 3 +++ man7/inotify.7 | 3 +++ 2 files changed, 6 insertions(+) diff --git a/man2/inotify_rm_watch.2 b/man2/inotify_rm_watch.2 index cd6b3bcc5..7e0fc3abf 100644 --- a/man2/inotify_rm_watch.2 +++ b/man2/inotify_rm_watch.2 @@ -32,6 +32,9 @@ inotify_rm_watch \- remove an existing watch from an inotify instance .B #include .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 diff --git a/man7/inotify.7 b/man7/inotify.7 index af84ed6cd..aedad3c33 100644 --- a/man7/inotify.7 +++ b/man7/inotify.7 @@ -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)) */