Changeset 609 for branches/GNU/src/binutils/libiberty/basename.c
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/libiberty/basename.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 3 3 4 4 /* 5 NAME6 basename -- return pointer to last component of a pathname7 5 8 SYNOPSIS 9 char *basename (const char *name) 6 @deftypefn Supplemental char* basename (const char *@var{name}) 10 7 11 DESCRIPTION 12 Given a pointer to a string containing a typical pathname 13 (/usr/src/cmd/ls/ls.c for example), returns a pointer to the 14 last component of the pathname ("ls.c" in this case). 8 Returns a pointer to the last component of pathname @var{name}. 9 Behavior is undefined if the pathname ends in a directory separator. 15 10 16 BUGS 17 Presumes a UNIX or DOS/Windows style path with UNIX or DOS/Windows 18 style separators. 11 @end deftypefn 12 19 13 */ 20 14 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.