Re: [PATCH 1/2] open.2: document FASYNC usage in Linux UAPI headers

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

 



Hello Eugene,

On 1/5/19 6:24 AM, Eugene Syromiatnikov wrote:
Linux's <asm/fcntl.h> defines FASYNC instead of O_ASYNC; document this
peculiarity.

Thanks. Patch applied.

Cheers,

Michael

Signed-off-by: Eugene Syromiatnikov <esyr@xxxxxxxxxx>
---
  man2/open.2 | 8 ++++++++
  1 file changed, 8 insertions(+)

diff --git a/man2/open.2 b/man2/open.2
index f38e1c1..75e2b59 100644
--- a/man2/open.2
+++ b/man2/open.2
@@ -1318,6 +1318,14 @@ directory show even more information about these files descriptors.
  See
  .BR proc (5)
  for further details of both of these directories.
+.PP
+Linux header file
+.B <asm/fcntl.h>
+doesn't define
+.BR O_ASYNC ;
+(BSD-derived)
+.B FASYNC
+is defined instead.
  .\"
  .\"
  .SS Open file descriptions




[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