James Carlson wrote:
> That function can use its
> own static, and call basename(getexecname()) to fill in the static if
> NULL.
>   

Some people might not be aware that basename can scribble on it's 
argument, so
passing it a const string would be a mistake.  I only bring it up 
because I'm
pedantic.  :-)

http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/gen/basename.c

--chris


Reply via email to