2 * Copyright (C) 2002 Manuel Novoa III
3 * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
5 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
10 libc_hidden_proto(basename)
12 char *basename(const char *path)
14 register const char *s;
15 register const char *p;
27 libc_hidden_def(basename)