[PATCH libaio 03/28] man: Use the correct troff macro for comments
authorGuillem Jover <guillem@hadrons.org>
Sat, 20 Jul 2019 19:18:01 +0000 (21:18 +0200)
committerGuillem Jover <guillem@debian.org>
Tue, 2 Nov 2021 23:56:45 +0000 (23:56 +0000)
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0003-man-Use-the-correct-troff-macro-for-comments.patch

man/io_fsync.3
man/io_getevents.3
man/io_prep_fsync.3
man/io_prep_pread.3
man/io_prep_pwrite.3
man/io_set_callback.3
man/io_submit.3

index 859de1b2bd4e3cb0140e461db2c4541b7acc9776..77a62ff1994ce3360dc713d0f9364015c1254f9d 100644 (file)
@@ -1,9 +1,9 @@
-./" static inline int io_fsync(io_context_t ctx, struct iocb *iocb, io_callback_t cb, int fd)
-./" {
-./"    io_prep_fsync(iocb, fd);
-./"    io_set_callback(iocb, cb);
-./"    return io_submit(ctx, 1, &iocb);
-./" }
+.\" static inline int io_fsync(io_context_t ctx, struct iocb *iocb, io_callback_t cb, int fd)
+.\" {
+.\"    io_prep_fsync(iocb, fd);
+.\"    io_set_callback(iocb, cb);
+.\"    return io_submit(ctx, 1, &iocb);
+.\" }
 .TH io_fsync 3 2002-09-12 "Linux 2.4" Linux AIO"
 .SH NAME
 io_fsync \- Synchronize a file's complete in-core state with that on disk
index a4f8b57bcfd40bc6412191f47254cf1f8566c020..1e643accffea495e6fadeeb45c610201b4674244 100644 (file)
@@ -1,21 +1,21 @@
-./"/* io_getevents:
-./" *      Attempts to read at least min_nr events and up to nr events from
-./" *      the completion queue for the aio_context specified by ctx_id.  May
-./" *      fail with -EINVAL if ctx_id is invalid, if min_nr is out of range,
-./" *      if nr is out of range, if when is out of range.  May fail with
-./" *      -EFAULT if any of the memory specified to is invalid.  May return
-./" *      0 or < min_nr if no events are available and the timeout specified
-./" *      by when has elapsed, where when == NULL specifies an infinite
-./" *      timeout.  Note that the timeout pointed to by when is relative and
-./" *      will be updated if not NULL and the operation blocks.  Will fail
-./" *      with -ENOSYS if not implemented.
-./" */
-./"asmlinkage long sys_io_getevents(io_context_t ctx_id,
-./"                                 long min_nr,
-./"                                 long nr,
-./"                                 struct io_event *events,
-./"                                 struct timespec *timeout)
-./"
+.\"/* io_getevents:
+.\" *      Attempts to read at least min_nr events and up to nr events from
+.\" *      the completion queue for the aio_context specified by ctx_id.  May
+.\" *      fail with -EINVAL if ctx_id is invalid, if min_nr is out of range,
+.\" *      if nr is out of range, if when is out of range.  May fail with
+.\" *      -EFAULT if any of the memory specified to is invalid.  May return
+.\" *      0 or < min_nr if no events are available and the timeout specified
+.\" *      by when has elapsed, where when == NULL specifies an infinite
+.\" *      timeout.  Note that the timeout pointed to by when is relative and
+.\" *      will be updated if not NULL and the operation blocks.  Will fail
+.\" *      with -ENOSYS if not implemented.
+.\" */
+.\"asmlinkage long sys_io_getevents(io_context_t ctx_id,
+.\"                                 long min_nr,
+.\"                                 long nr,
+.\"                                 struct io_event *events,
+.\"                                 struct timespec *timeout)
+.\"
 .TH io_getevents 2 2002-09-03 "Linux 2.4" "Linux AIO"
 .SH NAME
 io_getevents, aio_pgetevents \- Read resulting events from io requests
index 1173e2a6f91ab9ed1485ab06d99ffe3928b2bbb6..2daddeea48baea8ba39a7de782dc63b37cd2e9d1 100644 (file)
@@ -1,10 +1,10 @@
-./" static inline void io_prep_fsync(struct iocb *iocb, int fd)
-./" {
-./"    memset(iocb, 0, sizeof(*iocb));
-./"    iocb->aio_fildes = fd;
-./"    iocb->aio_lio_opcode = IO_CMD_FSYNC;
-./"    iocb->aio_reqprio = 0;
-./" }
+.\" static inline void io_prep_fsync(struct iocb *iocb, int fd)
+.\" {
+.\"    memset(iocb, 0, sizeof(*iocb));
+.\"    iocb->aio_fildes = fd;
+.\"    iocb->aio_lio_opcode = IO_CMD_FSYNC;
+.\"    iocb->aio_reqprio = 0;
+.\" }
 .TH io_prep_fsync 3 2002-09-12 "Linux 2.4" Linux AIO"
 .SH NAME
 io_prep_fsync \- Synchronize a file's complete in-core state with that on disk
index 2c3b3142856a69c6d7be1171c63a00276a9cb9af..1ab28f5bf2a65dfb0751f347a2bb431d06f43a9c 100644 (file)
@@ -1,13 +1,13 @@
-./" static inline void io_prep_pread(struct iocb *iocb, int fd, void *buf, size_t count, long long offset)
-./" {
-./"    memset(iocb, 0, sizeof(*iocb));
-./"    iocb->aio_fildes = fd;
-./"    iocb->aio_lio_opcode = IO_CMD_PREAD;
-./"    iocb->aio_reqprio = 0;
-./"    iocb->u.c.buf = buf;
-./"    iocb->u.c.nbytes = count;
-./"    iocb->u.c.offset = offset;
-./" }
+.\" static inline void io_prep_pread(struct iocb *iocb, int fd, void *buf, size_t count, long long offset)
+.\" {
+.\"    memset(iocb, 0, sizeof(*iocb));
+.\"    iocb->aio_fildes = fd;
+.\"    iocb->aio_lio_opcode = IO_CMD_PREAD;
+.\"    iocb->aio_reqprio = 0;
+.\"    iocb->u.c.buf = buf;
+.\"    iocb->u.c.nbytes = count;
+.\"    iocb->u.c.offset = offset;
+.\" }
 .TH io_prep_pread 3 2002-09-12 "Linux 2.4" Linux AIO"
 .SH NAME
 io_prep_pread \- Set up asynchronous read
index 669b8c29f017855e981a600db7be9e986d92ce35..f8d7fac6ab4a91a352e623f2bfd19418e6990b05 100644 (file)
@@ -1,13 +1,13 @@
-./" static inline void io_prep_pwrite(struct iocb *iocb, int fd, void *buf, size_t count, long long offset)
-./" {
-./"    memset(iocb, 0, sizeof(*iocb));
-./"    iocb->aio_fildes = fd;
-./"    iocb->aio_lio_opcode = IO_CMD_PWRITE;
-./"    iocb->aio_reqprio = 0;
-./"    iocb->u.c.buf = buf;
-./"    iocb->u.c.nbytes = count;
-./"    iocb->u.c.offset = offset;
-./" }
+.\" static inline void io_prep_pwrite(struct iocb *iocb, int fd, void *buf, size_t count, long long offset)
+.\" {
+.\"    memset(iocb, 0, sizeof(*iocb));
+.\"    iocb->aio_fildes = fd;
+.\"    iocb->aio_lio_opcode = IO_CMD_PWRITE;
+.\"    iocb->aio_reqprio = 0;
+.\"    iocb->u.c.buf = buf;
+.\"    iocb->u.c.nbytes = count;
+.\"    iocb->u.c.offset = offset;
+.\" }
 .TH io_prep_pwrite 3 2002-09-12 "Linux 2.4" Linux AIO"
 .SH NAME
 io_prep_pwrite \- Set up iocb for asynchronous writes
index 3c7e43f254f8b11ffb5b8edb6158de11496dbafa..cc842f778cd73dea191db7d305b4487a8fb97a4b 100644 (file)
@@ -1,4 +1,4 @@
-./"\ 3static inline void io_set_callback(struct iocb *iocb, io_callback_t cb)
+.\"static inline void io_set_callback(struct iocb *iocb, io_callback_t cb)
 .TH io_set_callback 3 2002-09-12 "Linux 2.4" Linux AIO"
 .SH NAME
 io_set_callback \- Set up io completion callback function
index 7281147ab7f6533ac25ecdfe0104c091e44fa08d..a810b3fe0a854ce977f4a58d10be461dee5714d3 100644 (file)
@@ -1,15 +1,15 @@
-./"/* sys_io_submit:
-./" *      Queue the nr iocbs pointed to by iocbpp for processing.  Returns
-./" *      the number of iocbs queued.  May return -EINVAL if the aio_context
-./" *      specified by ctx_id is invalid, if nr is < 0, if the iocb at
-./" *      *iocbpp[0] is not properly initialized, if the operation specified
-./" *      is invalid for the file descriptor in the iocb.  May fail with
-./" *      -EFAULT if any of the data structures point to invalid data.  May
-./" *      fail with -EBADF if the file descriptor specified in the first
-./" *      iocb is invalid.  May fail with -EAGAIN if insufficient resources
-./" *      are available to queue any iocbs.  Will return 0 if nr is 0.  Will
-./" *      fail with -ENOSYS if not implemented.
-./" */
+.\"/* sys_io_submit:
+.\" *      Queue the nr iocbs pointed to by iocbpp for processing.  Returns
+.\" *      the number of iocbs queued.  May return -EINVAL if the aio_context
+.\" *      specified by ctx_id is invalid, if nr is < 0, if the iocb at
+.\" *      *iocbpp[0] is not properly initialized, if the operation specified
+.\" *      is invalid for the file descriptor in the iocb.  May fail with
+.\" *      -EFAULT if any of the data structures point to invalid data.  May
+.\" *      fail with -EBADF if the file descriptor specified in the first
+.\" *      iocb is invalid.  May fail with -EAGAIN if insufficient resources
+.\" *      are available to queue any iocbs.  Will return 0 if nr is 0.  Will
+.\" *      fail with -ENOSYS if not implemented.
+.\" */
 .TH io_submit 2 2002-09-02 "Linux 2.4" "Linux AIO"
 .SH NAME
 io_submit \- Submit io requests