home *** CD-ROM | disk | FTP | other *** search
-
-
-
- BaseName(33.4) ARP Programmers Manual BaseName(33.4)
-
-
-
- NAME
- BaseName - return basename of pathname
-
- SYNOPSIS
- basename = BaseName("PathName");
- d0 A0
-
- FUNCTION
- The basename of a pathname is its last component. For
- example, the basename of DF1:FOOBAR is FOOBAR, but the
- basename of DF1:Foobar/Doobar/Shobar is Shobar. This
- function returns a pointer to the start of the basename
- given a valid AmigaDOS path.
-
- INPUTS
- PathName - Pointer to a valid pathname.
-
- RESULT
- basename - Pointer to start of basename. Note that the
- basename ptr may point to the start of PathName.
-
- BUGS
- None known.
-
- SEE ALSO
- ObtainResidentPrg(), AddResidentPrg(),LoadPrg(),UnLoadPrg(),
- CheckSumPrg(), RemResidentPrg().
-
- AUTHOR
- SDB
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 1 (printed 2/22/88)
-
-
-
-