Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/libiberty/basename.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    33
    44/*
    5 NAME
    6         basename -- return pointer to last component of a pathname
    75
    8 SYNOPSIS
    9         char *basename (const char *name)
     6@deftypefn Supplemental char* basename (const char *@var{name})
    107
    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).
     8Returns a pointer to the last component of pathname @var{name}.
     9Behavior is undefined if the pathname ends in a directory separator.
    1510
    16 BUGS
    17         Presumes a UNIX or DOS/Windows style path with UNIX or DOS/Windows
    18         style separators.
     11@end deftypefn
     12
    1913*/
    2014
Note: See TracChangeset for help on using the changeset viewer.