From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) by sourceware.org (Postfix) with ESMTPS id D8FC7385781C for ; Sat, 6 Feb 2021 09:56:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D8FC7385781C Received: by mail-oi1-x231.google.com with SMTP id v193so4847831oie.8 for ; Sat, 06 Feb 2021 01:56:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=iAXSh8LJGY4GWkLzkUNJuuKgExsK7u6d5znt2tneXgk=; b=sJr2Nm3szV0Z9MM0MhnEDSb+YWgWysLtaWuCP8AfLrOSieyll5yUSJ2iM21SJOZ+qw SwkSN9/df64zZFhMoxG6sIWp19KQoZnZLn6CA/2cdPUp1/orxgttTJnqRjq+l0QHj/T/ LogGc7pqte6L7yf++MZn24kMXxFCMFmt9J6klE24vz+AeXQeNPTy7XKsngV7sj4jwsxe Ggm7xqcxZLfZeKFi0eeqw8GHOh737M/ueIFLzlt23OYW9Ssm3r986OjBqcRXAlwC6vPv lT9MacRbKnlNEaH08XrOs5F2sKDgjvaCsL2aw6M5kQ4LClXuExn7bIU/zDmTfN0XLDIg CZwA== X-Gm-Message-State: AOAM532JWFLbNcKmzNyQZ06TAVp3Ua20tAS1xbkkkVGO0l9mKTCRf9Yi SkYTHKGoJzLjORTYr/pJgkSL+5NzCAi7Njzdxd8= X-Google-Smtp-Source: ABdhPJyghfTHMe+n+Iqub16iXE8nnhP/SynXx6x/9B1fqbQvJwUtYtxmkHQymM5972QAgpvQWao6X3HCZOmbcIt2Ln0= X-Received: by 2002:aca:48c6:: with SMTP id v189mr5619988oia.177.1612605393109; Sat, 06 Feb 2021 01:56:33 -0800 (PST) MIME-Version: 1.0 References: <20210203182528.150479-1-alx.manpages@gmail.com> In-Reply-To: <20210203182528.150479-1-alx.manpages@gmail.com> Reply-To: mtk.manpages@gmail.com From: "Michael Kerrisk (man-pages)" Date: Sat, 6 Feb 2021 10:56:22 +0100 Message-ID: Subject: Re: [PATCH] epoll_wait.2: Glibc doesn't provide epoll_pwait2() yet To: Alejandro Colomar Cc: linux-man , "libc-alpha@sourceware.org" , Willem de Bruijn , Florian Weimer Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_SHORT, 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: Sat, 06 Feb 2021 09:56:44 -0000 Hi Alex, On Wed, 3 Feb 2021 at 19:28, Alejandro Colomar wrote: > > Signed-off-by: Alejandro Colomar > --- > > Hi all, > > As far as I can tell, glibc doesn't yet provide the wrapper function for > epoll_pwait2(), does it? Not yet, AFAICT. > So let's add a reminder to check if glibc provides the wrapper in the future. Perhaps we could do one better. Raise a glibc bug requesting support, and add the URL of that bug in the FIXME :-). Cheers, Michael > Cheers, > > Alex > > man2/epoll_wait.2 | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/man2/epoll_wait.2 b/man2/epoll_wait.2 > index f0e432478..e338f8830 100644 > --- a/man2/epoll_wait.2 > +++ b/man2/epoll_wait.2 > @@ -35,6 +35,8 @@ epoll_wait, epoll_pwait, epoll_pwait2 \- wait for an I/O event on an epoll file > .BI "int epoll_pwait2(int " epfd ", struct epoll_event *" events , > .BI " int " maxevents ", const struct timespec *" timeout , > .BI " const sigset_t *" sigmask ); > +.\" FIXME: Check if glibc has added a wrapper for epoll_pwait2(). > .fi > .SH DESCRIPTION > The > -- > 2.30.0 > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/