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=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31589 invoked from network); 7 Mar 2022 02:32:05 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 7 Mar 2022 02:32:05 -0000 Received: (qmail 19783 invoked by uid 550); 7 Mar 2022 02:32:01 -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 19739 invoked from network); 7 Mar 2022 02:32:00 -0000 Message-ID: <6f06bbee-2e89-2ebe-ac18-4541d0696204@huawei.com> Date: Mon, 7 Mar 2022 10:31:41 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 To: Content-Language: en-US From: "wangjianjian (C)" Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.108.234.194] X-ClientProxiedBy: dggeme710-chm.china.huawei.com (10.1.199.106) To canpemm500009.china.huawei.com (7.192.105.203) X-CFilter-Loop: Reflected Subject: [musl] basename with no parameter? Hi all, I find that the basename in string.h  with _GNU_SOURCE in Musl libc(Line 119): char *basename(); The man page says that have two different version of basename however both need one parameter, is this correct? Regards, Jian