diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-09-29 13:16:48 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-29 13:16:48 +0200 |
commit | 8bb96d46e8171595d61421765949536d6993323d (patch) | |
tree | dac409df0713a174948cdac45a6dad05707f5169 /src/directory.c | |
parent | 5c516b8421f8073418bccefe1f8cd6b45bc9c3d6 (diff) | |
download | mpd-8bb96d46e8171595d61421765949536d6993323d.tar.gz mpd-8bb96d46e8171595d61421765949536d6993323d.tar.xz mpd-8bb96d46e8171595d61421765949536d6993323d.zip |
path: add mpd_basename() function
This is like basename(3) but with predictable semantics independent
of C library or build options used. This is also much more strict
and does not account for trailing slashes (mpd should never deal with
trailing slashes on internal functions).
Diffstat (limited to 'src/directory.c')
0 files changed, 0 insertions, 0 deletions