From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1711 invoked from network); 23 Nov 2022 14:55:42 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 23 Nov 2022 14:55:42 -0000 Received: (qmail 7866 invoked by uid 550); 23 Nov 2022 14:55:40 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 7834 invoked from network); 23 Nov 2022 14:55:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=TuABNMzmtMJk533o5Pt4fmGJ6ME5js+SgiYTzgTkNh0=; b=WhgpfDnI1QSImekjfUbsO60ghuCZkHXxAn8osbLrglUeFCWDv3PqftvYb7XTJOIQ45 KCytg3OiK7l22NPpSg+pjoTfZ21qDn98C0CQCrYhCys0Z6y9+SjmSfU836MdraYnIaa1 lTHYdjnpo6mtvYTtpKzuE87kjoswbHkh9CQkEode2U+TTRFLZDO71PXlD22v9jylkRBo yfWRgP+8Nj7tGMBtaWQ6ZzUgbPofkOCiaw0V44pso4IjlTjdULf+Knf6H6jNCjEGfjYT 6d2NOm6K5tg5UhTzCo+XQGXCPw8SGeqg7VxaPjVhr4WS9HG+Mp/eJgDjXgzUfvMRnGUJ UsVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TuABNMzmtMJk533o5Pt4fmGJ6ME5js+SgiYTzgTkNh0=; b=5+ma5Xaj5ueM3RK6msv40khpMAUxcLu72+T3N6HiHWCsFsksSlXxXAYvjzS5tVVBy4 3IBVaEmOGvz+0IMWY4jcQ5UVuOcmaX6OvBdLzlZZbfx/0XwhvEmw7AxuqalS6JlMed9/ wz5IRe1EptqfrDXkhJq5BOqC9HtDyE8HBCDuO0baJtQh7A62wiC1NayU8UpPouyWAuaE x1oW7AQmN+WN+Lm1aj0y6KUr0AuC0PAjyEyeiRIwnNj8dUPfqtmQOr5jGWkLlnrdKAbr /gbBhP+eVhoYHoScMDc3g9kVz4z9w6ZZlztAhkLtIPJG0vwcnf30sPLpxw5lW2Ck5AE6 D+eg== X-Gm-Message-State: ANoB5pm6ambseZ+xudn+wrQ1DpGZcXc5YfmB07R0SxRjAVwLHu2I2Pa6 s4VxVRaG70iraU1N7qkNc9Lw6sAMaX2CSMBT4c1wJ2WcGgNeKQ== X-Google-Smtp-Source: AA0mqf5jN3fc8gphv3S+BgC+TYl3ktWck64zNyYk29trpsEDIv2AIaKKqM87OQGinlw3y3oy2ApAzRwyBohl8mStUV0= X-Received: by 2002:a05:6a00:10cd:b0:567:546c:718b with SMTP id d13-20020a056a0010cd00b00567546c718bmr9407505pfu.17.1669215326983; Wed, 23 Nov 2022 06:55:26 -0800 (PST) MIME-Version: 1.0 References: <20221110001318.10696-1-andrew@digital-domain.net> <853fa349-8e78-8ce8-f76f-79b4b9353913@gmail.com> <50485f46-99d0-69ee-0882-7e403334080c@gmail.com> In-Reply-To: <50485f46-99d0-69ee-0882-7e403334080c@gmail.com> From: Jeffrey Walton Date: Wed, 23 Nov 2022 09:55:15 -0500 Message-ID: To: musl@lists.openwall.com Cc: Stefan Puiu , Guillem Jover , Andrew Clayton , linux-man@vger.kernel.org, Michael Kerrisk , Alejandro Colomar , Brian Inglis , Rich Felker Content-Type: text/plain; charset="UTF-8" Subject: Re: [musl] Re: [PATCH] memmem.3: Added list of known systems where this is available On Wed, Nov 23, 2022 at 9:29 AM Alejandro Colomar wrote: > ... > >> In any case I also find it useful to have this kind of portability > >> information when deciding what to use in code. > > And I must admit it's also useful to me (this all started because Andrew and I > had to use memmem(3) at a project where macOS compatibility is relevant --not > critical, but relevant--). If you are a die-hard free software person using GNU gear, then Gnulib provides memmem. There's no need to worry about availability or portability courtesy of Gnulib. See https://www.gnu.org/software/gnulib/manual/html_node/memmem.html . Jeff