Mail Archives: djgpp-workers/1996/06/05/04:23:09
> ===============================================================================
> Markus F.X.J. Oberhumer <markus DOT oberhumer AT jk DOT uni-linz DOT ac DOT at>
>
> Subject: basename()
> To: djgpp-workers AT delorie DOT com
> ===============================================================================
>
> This is my suggestion for basename() as found in Linux and
> many other UNIX variants.
>
> Prototype should probably reside in <unistd.h>
>
> Regards,
> Markus
I don't know as in Linux, but in Solaris this function returns
the last element of a path name WITH extension. I don't think
it is reazonable to include a function which does not correspond
to some inplementations.
- Raw text -