[RFC 09/37] aiocb-struct.3, system_data_types.7: Move text to a separate page

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

 



Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>
---
 man3/aiocb-struct.3      | 32 +++++++++++++++++++++++++++++++-
 man7/system_data_types.7 | 34 ----------------------------------
 2 files changed, 31 insertions(+), 35 deletions(-)

diff --git a/man3/aiocb-struct.3 b/man3/aiocb-struct.3
index db50c0f09..7026f10f1 100644
--- a/man3/aiocb-struct.3
+++ b/man3/aiocb-struct.3
@@ -1 +1,31 @@
-.so man7/system_data_types.7
+.TH AIOCB-STRUCT 3 2021-11-02 Linux "Linux Programmer's Manual"
+.SH NAME
+aiocb-struct \- asynchronous I/O control block
+.SH SYNOPSIS
+.nf
+.B #include <aio.h>
+.PP
+.B struct aiocb {
+.BR "    int             aio_fildes;" "     /* File descriptor */"
+.BR "    off_t           aio_offset;" "     /* File offset */"
+.BR "    volatile void  *aio_buf;" "        /* Location of buffer */"
+.BR "    size_t          aio_nbytes;" "     /* Length of transfer */"
+.BR "    int             aio_reqprio;" "    /* Request priority offset */"
+.BR "    struct sigevent aio_sigevent;" "   /* Signal number and value */"
+.BR "    int             aio_lio_opcode;" " /* Operation to be performed */"
+.B };
+.fi
+.SH DESCRIPTION
+For further information about this structure, see
+.BR aio (7).
+.SH CONFORMING TO
+POSIX.1-2001 and later.
+.SH SEE ALSO
+.BR aio_cancel (3),
+.BR aio_error (3),
+.BR aio_fsync (3),
+.BR aio_read (3),
+.BR aio_return (3),
+.BR aio_suspend (3),
+.BR aio_write (3),
+.BR lio_listio (3)
diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index 2dae2f7ed..92565d730 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -51,40 +51,6 @@ system_data_types \- overview of system data types
 .\"
 .\"		* See also
 .\"------------------------------------- aiocb ------------------------/
-.TP
-.I aiocb
-.RS
-.IR Include :
-.IR <aio.h> .
-.PP
-.EX
-struct aiocb {
-    int             aio_fildes;    /* File descriptor */
-    off_t           aio_offset;    /* File offset */
-    volatile void  *aio_buf;       /* Location of buffer */
-    size_t          aio_nbytes;    /* Length of transfer */
-    int             aio_reqprio;   /* Request priority offset */
-    struct sigevent aio_sigevent;  /* Signal number and value */
-    int             aio_lio_opcode;/* Operation to be performed */
-};
-.EE
-.PP
-For further information about this structure, see
-.BR aio (7).
-.PP
-.IR "Conforming to" :
-POSIX.1-2001 and later.
-.PP
-.IR "See also" :
-.BR aio_cancel (3),
-.BR aio_error (3),
-.BR aio_fsync (3),
-.BR aio_read (3),
-.BR aio_return (3),
-.BR aio_suspend (3),
-.BR aio_write (3),
-.BR lio_listio (3)
-.RE
 .\"------------------------------------- blkcnt_t ---------------------/
 .TP
 .I blkcnt_t
-- 
2.33.1




[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