From patchwork Fri Sep 18 17:04:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1367099 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=sourceware.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=u5n7vd3e; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BtKw66dy9z9sRf for ; Sat, 19 Sep 2020 03:05:26 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7E3F53972C1B; Fri, 18 Sep 2020 17:05:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7E3F53972C1B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1600448710; bh=6XmpYGY/5N8PVzQG8fsEduO6+tH2B8i3BoLl9XVGC7s=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=u5n7vd3egiLbnUJGLGCgPnH6KeYOs2x5kbcCoDbu0XIoyEVHS/NXFv/X4E6QQvRYW zyNz8xcP5Wd4dkKvJXbs0oE4wVHHvsHhj8JwEL2RPFr4A32iKhgOfEUjUy1hCXdBGM hqmmnTELOCb0Ctf/NjIQ7XV89gyuJxgM3VQr/2T4= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by sourceware.org (Postfix) with ESMTPS id 5FE723972482 for ; Fri, 18 Sep 2020 17:05:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5FE723972482 Received: by mail-wr1-x444.google.com with SMTP id g4so6348979wrs.5 for ; Fri, 18 Sep 2020 10:05:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6XmpYGY/5N8PVzQG8fsEduO6+tH2B8i3BoLl9XVGC7s=; b=oz0h2FDmiw3w1+Ap5if/sG8juOXLwGZNqXFSG6T0xBpfArzKhiDS9mFNO8mMjZMrNh tudXKi3TpxE0qqfGsYlF+TJ0fYtG1GNqzQ62HvVP7cu+uGFPT5BYjbh8WHJI7qDRVLj/ 4LCR8AIqRYxr+rrM78nmlTz1FkHwWl+V2dGCNlUDHFBEqBcaxBCXVCLHqNbtqQLXkR68 39G5qeksXN7q5jnMacW2HY1ByNALdCYEfhW3njsoxDlN6LNXfUPqplgGYguV73urRnqY 2UOE0Xtl63i3vR5/E6TNq8nyRpJU3JF76k1ZnwF/wrHlQGyvXaUkAO9+vOXF8nezMNFM 0cng== X-Gm-Message-State: AOAM531XzcvCKQmGhv4jClMfXT8oA8SCutJnSxkN4vq9exKt/h1YUkTC KNEqiy0fwg2G0G10OUhUk9jYymDd80Phrw== X-Google-Smtp-Source: ABdhPJwB8TnfyrPZp6CXY1ISfE3y6/6KbKiIGjlGEL0TUFcme0nZohnQeT+VFKad65nnCNeAK4O+/A== X-Received: by 2002:adf:f88d:: with SMTP id u13mr41690518wrp.213.1600448706470; Fri, 18 Sep 2020 10:05:06 -0700 (PDT) Received: from localhost.localdomain ([170.253.60.68]) by smtp.googlemail.com with ESMTPSA id q18sm6321208wre.78.2020.09.18.10.05.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Sep 2020 10:05:05 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH 6/9] system_data_types.7: Document aiocb Date: Fri, 18 Sep 2020 19:04:40 +0200 Message-Id: <20200918170442.94920-7-colomar.6.4.3@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200918170442.94920-1-colomar.6.4.3@gmail.com> References: <20200918170442.94920-1-colomar.6.4.3@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, GIT_PATCH_0, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man7/system_data_types.7 | 40 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index 8c0c78954..f7d25bec9 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -61,6 +61,38 @@ system_data_types \- overview of system data types .\" * Notes (optional) .\" .\" * See also +.\"------------------------------------- aiocb ------------------------/ +.TP +.I aiocb +.IP +Include: +.IR . +.IP +.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 +.\".IP +.\" FIXME: Add a description? +.IP +Conforming to: POSIX.1-2001 and later. +.IP +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) .\"------------------------------------- ptrdiff_t --------------------/ .TP .I ptrdiff_t @@ -177,10 +209,10 @@ See also: .BR getaddrinfo_a (3), .BR lio_listio (3), .BR mq_notify (3) -.\".IP -.\"See also the -.\".I aiocb FIXME -.\"structure in this page. +.IP +See also the +.I aiocb +structure in this page. .\"------------------------------------- sigval -----------------------/ .TP .I sigval