IP6(3)
π IP6(3) π
okay bestie, welcome to the IP6(3) page from the Library Functions Manual β this is all about IP V6 address support and honestly it's a whole vibe. Let's get into it. β¨
πΈ NAME πΈ
ip6 β IP V6 address support. That's the name, that's the game, periodt. π
β¨ SYNOPSIS β¨
#include <ip6.h>
char* fmtip6(unsigned char* addr, int bits);
int strtoip6(const char* str, char** end, unsigned char* addr, unsigned char* bits);
π DESCRIPTION π
fmtip6()β formats the IPV6 addressaddrwith optional prefix bitsbits(0if not a prefix) into a thread-specific0-terminated temporary buffer and returns a pointer to the formatted value. It's giving "format it, hand you the pointer, slay" energy. πstrtoip6()β converts a formatted IPV6 address from the0-terminated stringstrinto a host order IPV6 address inaddr, which must be a buffer of at leastIP6ADDRbytes. Ifbitsis not0then an optional/bits(prefix size in bits) is parsed and*bitsis set to the number of prefix bits. Ifendis not0then*endwill point to the first unparsed character instron return. It returns0on success,-1on failure. fr fr, that's the whole deal. π¦
π₯ SEE ALSO π₯
dss(1)β the one and only see-also on this page, bestie. Go check it out. π
π okay that's the whole manual page. footer sign-off: IP6(3) π
β the original footer doesn't list a version or date, so no invented details here, bestie. bye! π
π¦ where this page comes from
- opensuse-leap 16.0: ksh-devel 93vu-bp160.1.33 Β· CPL-1.0
- opensuse-leap 16.0: ksh-devel 93vu-bp160.1.33 Β· CPL-1.0
- opensuse-leap 16.0: ksh-devel 93vu-bp160.1.33 Β· CPL-1.0
- opensuse-leap 16.0: ksh-devel 93vu-bp160.1.33 Β· CPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms