Using this flag saves extra calls to
.BR fcntl (2)
to achieve the same result.
+.TP
+.B O_NOTIFICATION_PIPE
+Since Linux 5.8,
+.\" commit c73be61cede5882f9605a852414db559c0ebedfd
+general notification mechanism is built on the top of the pipe where
+kernel splices notification messages into pipes opened by user space.
+The owner of the pipe has to tell the kernel which sources of events to watch
+and filters can also be applied to select
+which subevents should be placed into the pipe.
.SH RETURN VALUE
On success, zero is returned.
On error, \-1 is returned,
The user hard limit on memory that can be allocated for pipes
has been reached and the caller is not privileged; see
.BR pipe (7).
+.TP
+.B ENOPKG
+.RB ( pipe2 ())
+.B O_NOTIFICATION_PIPE
+was passed in
+.I flags
+and support for notifications
+.RB ( CONFIG_WATCH_QUEUE )
+is not compiled into the kernel.
.SH VERSIONS
.BR pipe2 ()
was added to Linux in version 2.6.27;