]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man2/ioctl_pipe.2: SYNOPSIS: Fix $1, which is not an array parameter
authorAlejandro Colomar <alx@kernel.org>
Mon, 23 Dec 2024 21:25:54 +0000 (22:25 +0100)
committerAlejandro Colomar <alx@kernel.org>
Mon, 23 Dec 2024 21:27:21 +0000 (22:27 +0100)
Link: <https://lore.kernel.org/linux-man/20241214180423.2thsuyyfosrlyajb@devuan/T/#u>
Reported-by: Alejandro Colomar <alx@kernel.org>
Suggested-by: Cyril Hrubis <chrubis@suse.cz>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2/ioctl_pipe.2

index 5f5c4265227dd358414b41076d5a88d8dd0a2519..fc15e151140b7e48406968be5c35799d08cebd3f 100644 (file)
@@ -10,8 +10,8 @@ ioctl_pipe \- ioctl() operations for General notification mechanism
 .BR "#include <linux/watch_queue.h>" "  /* Definition of " IOC_WATCH_QUEUE_ "* */"
 .B #include <sys/ioctl.h>
 .P
-.BI "int ioctl(int " pipefd "[1], IOC_WATCH_QUEUE_SET_SIZE, int " size );
-.BI "int ioctl(int " pipefd "[1], IOC_WATCH_QUEUE_SET_FILTER,"
+.BI "int ioctl(int " pipefd ", IOC_WATCH_QUEUE_SET_SIZE, int " size );
+.BI "int ioctl(int " pipefd ", IOC_WATCH_QUEUE_SET_FILTER,"
 .BI "          struct watch_notification_filter *" filter );
 .fi
 .SH DESCRIPTION