GETNETBYADDR(3POSIX)
β¨ getnetbyaddr β the network database functions, bestie edition β¨
okay so this page lives in the POSIX Programmer's Manual (yes, the whole POSIX Programmer's Manual, it's a vibe) π
πΈ PROLOG πΈ
okay real talk before we get into it β this manual page is part of the POSIX Programmer's Manual. and like, heads up: the Linux implementation of this interface may differ (so pls go consult the corresponding Linux manual page for the deets on Linux behavior), or honestly the interface may not be implemented on Linux at all. it's giving "it depends" π
π NAME π
getnetbyaddr, getnetbyname, getnetent β network database functions π¦
π SYNOPSIS π
#include <netdb.h>
struct netent *getnetbyaddr(uint32_t net, int type);
struct netent *getnetbyname(const char *name);
struct netent *getnetent(void);
π DESCRIPTION π
bestie. refer to endnetent(). that's it. that's the description. the whole thing. not me gatekeeping the actual docs π go read that one, it's got the lore π₯
π COPYRIGHT π
portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1-2017, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. π
and in the event of any discrepancy between this version and the original IEEE and The Open Group Standard β the original IEEE and The Open Group Standard is the referee document, periodt. no cap. the original Standard can be obtained online at http://www.opengroup.org/unix/online.html .
any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source files to man page format π (blame the converter, not the standards body, fr fr). to report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .
and that's the whole page, bestie π«Ά this lil rewrite came to you courtesy of IEEE/The Open Group, dated 2017, filed under GETNETBYADDR(3POSIX). slay, stay curious, and go read endnetent() for the actual tea πβ¨
π¦ where this page comes from
- debian bookworm: manpages-posix-dev 2017a-2 Β· Other
- debian trixie: manpages-posix-dev 2017a-2 Β· Other
- ubuntu jammy: manpages-posix-dev 2017a-2 Β· Other
- ubuntu noble: manpages-posix-dev 2017a-2 Β· Other
- ubuntu resolute: manpages-posix-dev 2017a-2build1 Β· Other
- ubuntu stonking: manpages-posix-dev 2017a-2.1 Β· Other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms