On Sat, 19 Aug 2000, Michael J. Maravillo wrote:
>> Can't for the life of me find it, or figure out what could be
>> used in its place. I can easily write my own replacement
>> function, but in the interest of not adding cruft to applications
>> I'd prefer to use a premade ready to roll function from an
>> existing library, preferably libc..
>>
>> So... what's it called, and where is it? Slap me with a
>> clue-by-4...
>
>[root@gateway /root]# cat basename-test.c
>#include <stdio.h>
>
>int main()
>{
> printf("%s\n", basename("/usr/bin/perl"));
>}
>[root@gateway /root]# gcc -o basename-test basename-test.c
>[root@gateway /root]# ./basename-test
>perl
>[root@gateway /root]# rpm -q libc
>libc-5.3.12-31
That's fine, but where's the manpage? I assumed it was part of
glibc, and a standard UNIX function. As such, I assumed it would
have a manpage, and I wanted to read it. There was something I
was curious about, and unable to find. Also, I got errors when
compiling that the function was in limbo.
BTW, what version of RH are you using? FTR - libc is obsolete.
Thanks for your message though. I guess I should bugzilla this..
Take care,
TTYL
--
Mike A. Harris Linux advocate
Computer Consultant GNU advocate
Capslock Consulting Open Source advocate
Try out Red Hat Linux today: http://www.redhat.com
ftp://ftp.redhat.com/pub/redhat/redhat-6.2/
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list