Re: code style in the vfs



Hi Oswald,

On Sun, 2004-09-26 at 14:24, Oswald Buddenhagen wrote:
> but this is exactly what all the str* & mem* searching functions do. you
> can't be that blind/silly not to get it ...

Yeah, maybe I am nitpicking too much on the example given. This is
probably what you wanted to point out:

char *dirname (const char *path)
{
     char *slash = strrchr (path, '/');
     return slash;
}

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]