• Eric Wong's avatar
    path: add mpd_basename() function · 8bb96d46
    Eric Wong authored
    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).
    8bb96d46
path.c 7.27 KB