From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by sourceware.org (Postfix) with ESMTPS id 545983945C34 for ; Tue, 20 Oct 2020 14:23:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 545983945C34 Received: by mail-wm1-x342.google.com with SMTP id c77so1994610wmd.4 for ; Tue, 20 Oct 2020 07:23:31 -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=SKGEEHCRETwd6h9jNsjao2C3LpaBgeXwfnttqzluZKk=; b=Y0VVIIJFCR6HTndEWO+Ud6qUbCRsuSpeubrFquSzZwMCJC+B8+DnymAXtN0YX2s/xq 9Tn6025obWHub9SyYgntTqT/yy3coIbQxIc4pB20P8qkf2xdSnicrDhyBOuYzYt9lY6B P9JAkPkxVIL0SHvOnf0UssgwI2lwdAXF6mP6IqNyUoFrqEWeUR3lgcDRD5IoHqg2GRR6 G7KbiDxHT3raWB0UIIz/a8M9zvLXXdaUQShOy6382PsCSslzajiAkTGzvFoFqGPNvTkx yRyIMPh/wAbMI23aV+vn4cuXjKCd6NCnbd6lhbTQdlquwK/jKsUR314kZ9jGPs/LQU1f W3Jg== X-Gm-Message-State: AOAM532uOoFOv9hC/1cUjmJa6GOizfDjgZisCkCYDpgw1NNI6mrfgCSa QBCmawygEB+aNXq5G0yWfKM= X-Google-Smtp-Source: ABdhPJxneIawtY0N8DW/IbZjb4gefRtY91q5cG69/myfRtMsbq46JSxvP6j+C5gvT7zFj/OZb+aoCg== X-Received: by 2002:a1c:b402:: with SMTP id d2mr3397761wmf.128.1603203810287; Tue, 20 Oct 2020 07:23:30 -0700 (PDT) Received: from localhost.localdomain ([170.253.60.68]) by smtp.googlemail.com with ESMTPSA id s19sm3422153wmc.0.2020.10.20.07.23.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Oct 2020 07:23:29 -0700 (PDT) From: Alejandro Colomar To: mtk.manpages@gmail.com Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Subject: [PATCH 09/22] list.3: DESCRIPTION: Copy description about naming of macros from queue.3 Date: Tue, 20 Oct 2020 16:21:34 +0200 Message-Id: <20201020142146.61837-10-colomar.6.4.3@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201020142146.61837-1-colomar.6.4.3@gmail.com> References: <20201020142146.61837-1-colomar.6.4.3@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.5 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_NUMSUBJECT, 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-List-Received-Date: Tue, 20 Oct 2020 14:23:32 -0000 Signed-off-by: Alejandro Colomar --- man3/list.3 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/man3/list.3 b/man3/list.3 index ae6590fdb..70f32a384 100644 --- a/man3/list.3 +++ b/man3/list.3 @@ -89,6 +89,31 @@ LIST_REMOVE .fi .SH DESCRIPTION These macros define and operate on doubly-linked lists. +.Pp +In the macro definitions, +.Fa TYPE +is the name of a user defined structure, +that must contain a field of type +.Li SLIST_ENTRY , +.Li STAILQ_ENTRY , +.Li LIST_ENTRY , +.Li TAILQ_ENTRY , +or +.Li CIRCLEQ_ENTRY , +named +.Fa NAME . +The argument +.Fa HEADNAME +is the name of a user defined structure that must be declared +using the macros +.Li SLIST_HEAD , +.Li STAILQ_HEAD , +.Li LIST_HEAD , +.Li TAILQ_HEAD , +or +.Li CIRCLEQ_HEAD . +See the examples below for further explanation of how these +macros are used. .SH RETURN VALUE .SH CONFORMING TO .SH BUGS -- 2.28.0