mailing list of musl libc
 help / color / mirror / code / Atom feed
From: "wangjianjian (C)" <>
To: <>
Subject: [musl] basename with no parameter?
Date: Mon, 7 Mar 2022 10:31:41 +0800	[thread overview]
Message-ID: <> (raw)

Hi all,

I find that the basename in string.h  with _GNU_SOURCE in Musl libc(Line 

char *basename();

The man page says that have two different version of basename however 
both need one parameter, is this correct?



             reply	other threads:[~2022-03-07  2:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-07  2:31 wangjianjian (C) [this message]
2022-03-07 13:18 ` Rich Felker
2022-03-07 16:42   ` James Y Knight
2022-03-07 18:38     ` Rich Felker
2022-03-26  3:34   ` wangjianjian (C)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).