SETNODEENT(3)
β¨ SETNODEENT(3) β¨
okay bestie, welcome to the Library Functions Manual π this one's a lil baby page but it's got lore, so let's get into it π«Ά
πΈ NAME πΈ
setnodeent β the DECnet database seek function πβ¨
π SYNOPSIS π
#include <netdnet/dn.h>
#include <netdnet/dnetdb.h>
void setnodeent(int ent)
π DESCRIPTION π
so basically setnodeent seeks the next record to be retrieved by getnodeent. that's the whole job. it's a seeker, it seeks, it slays π
and here's the tea, bestie β this function is present only for compatibility with X11R6. like, that's literally its whole reason for existing. it's giving legacy-support main character energy π no cap.
π¦ EXAMPLE π¦
#include <netdnet/dn.h>
#include <netdnet/dnetdb.h>
#include <sys/socket.h>
main(void)
{
setnodeent(1); /* points to the first entry in decnet.conf */
}
see that 1? that points to the first entry in decnet.conf π cute right
π SEE ALSO π
and that's the whole vibe, bestie π§β¨ this lil page comes from the DECnet database functions and it was dated July 28, 1998 β yes, 1998, it's vintage, it's iconic, it's older than us and it still ate ππ SETNODEENT(3) out, mwah π
π¦ where this page comes from
- ubuntu jammy: libdnet-dev 2.65build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms