static char Sccsid
[] = "@(#)sname.c 1.2 %G%";
Returns pointer to "simple" name of path name; that is,
pointer to first character after last "/". If no slashes,
returns pointer to first char of arg.
If the string ends in a slash, returns a pointer to the first
character after the preceeding slash, or the first character.
for(p
=s
; *p
; p
++) if(*p
== '/') s
= p
+ 1;