| 1234567891011121314151617181920212223242526272829 | /* * Copyright (C) 2002     Manuel Novoa III * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org> * * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */#include "_string.h"#ifdef __USE_GNUlibc_hidden_proto(basename)char *basename(const char *path){	register const char *s;	register const char *p;	p = s = path;	while (*s) {		if (*s++ == '/') {			p = s;		}	}	return (char *) p;}libc_hidden_def(basename)#endif
 |