GETNETBYADDR(3P)

πŸ’– GETNETBYADDR(3P) β€” a POSIX Programmer's Manual moment πŸ’–

okay bestie, so this one is from the POSIX Programmer's Manual (yes that's the manual name, we're keeping it, she's iconic) ✨


🫢 PROLOG

Real talk before we get into it: this manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ β€” so if you're on Linux, go read the corresponding Linux manual page for the actual Linux behavior, mkay? And lowkey, the interface may not be implemented on Linux at all. Not a vibe, but it's the truth. πŸ’€


🌸 NAME

getnetbyaddr, getnetbyname, getnetent β€” the 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);

look at her. three little functions. uint32_t net, int type, const char *name, and a plain void. no cap. πŸŽ€


✨ DESCRIPTION

okay so this is the funny part: the whole description is literally just refer to endnetent(). that's it. that's the description. she's pointing you at her sister page and honestly? respect the efficiency. πŸ‘‘

Go read endnetent() β€” the details live there, bestie. πŸ’–

legal corner, but make it cute:

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.

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. 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. to report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .


and that's the whole page, bestie!! this one came to you from IEEE/The Open Group, dated 2017 β€” so like, a whole vintage queen. mwah πŸ’‹ stay hydrated, read your endnetent() page, and slay πŸŒˆπŸ’œπŸ§š

πŸ“¦ where this page comes from