[?OT?] strndup exists in FreeBSD?

Mel fbsd.questions at rachie.is-a-geek.net
Mon Apr 14 23:06:21 UTC 2008


On Tuesday 15 April 2008 00:43:24 Steve Franks wrote:
> I'm getting an undefined reference to strndup, so clearly there's a
> header somewhere with it - doesn't seem to be in my default libc,
> however on 7.0-amd64?

<roken.h>
<openssl/buffer.h> as BUF_strndup.

And no, there's no strndup.

-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.


More information about the freebsd-questions mailing list