Re: [PATCH 5/9] mq_notify.3: Add signal.h for SIGEV_THREAD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Stephen,

On 1/7/22 17:46, Stephen Kitt wrote:
Signed-off-by: Stephen Kitt <steve@xxxxxxx>
---
  man3/mq_notify.3 | 1 +
  1 file changed, 1 insertion(+)

diff --git a/man3/mq_notify.3 b/man3/mq_notify.3
index 2c35a347d..31ba6f7cb 100644
--- a/man3/mq_notify.3
+++ b/man3/mq_notify.3
@@ -224,6 +224,7 @@ queue and then terminates the process.
  #include <stdio.h>
  #include <stdlib.h>
  #include <unistd.h>
+#include <signal.h>
I didn't read through the page too much. Is SIGEV_THREAD or similar flags something necessary for normal use of this function? If so, you might also want to add that header to the synopsis.

As an example, mkfifoat(3) documents <fcntl.h> in the synopsis for AT_* constants.

Thanks,

Alex

#define handle_error(msg) \e
      do { perror(msg); exit(EXIT_FAILURE); } while (0)

--
Alejandro Colomar
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux