From 3c36e6351a8511cb78e148880bf77476ac6f4eca Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Wed, 21 May 2014 12:40:35 +0200 Subject: [PATCH] fanotify.7: Document FAN_EVENT_METADATA_LEN Signed-off-by: Michael Kerrisk --- man7/fanotify.7 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/man7/fanotify.7 b/man7/fanotify.7 index 73dd802ac..c3e801ba5 100644 --- a/man7/fanotify.7 +++ b/man7/fanotify.7 @@ -326,6 +326,14 @@ has been skipped over (i.e., it subtracts .IR meta\->event_len from .IR len ). +.PP +In addition, there is: +.TP +.B FAN_EVENT_METADATA_LEN +This macro returns the size of structure +.I fanotify_event_metadata +in bytes. +This is the minimum size (and currently the only size) of any event metadata. .\" .SS Monitoring an fanotify file descriptor for events When an fanotify event occurs, the fanotify file descriptor indicates as