delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/06/05/04:23:09

Date: Wed, 5 Jun 1996 12:21:05 +0400 (MSD)
From: "Alexander V. Lukyanov" <lav AT video DOT yars DOT free DOT net>
Message-Id: <199606050821.MAA15127@video.yars.free.net>
To: djgpp-workers AT delorie DOT com, k3040e4 AT c210 DOT edvz DOT uni-linz DOT ac DOT at
Subject: Re: basename()

> ===============================================================================
> 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019