sockaddr_un(3type)

✨ sockaddr_un β€” the UNIX domain socket address glow-up ✨

okay bestie, so we're in the sockaddr_un(3type) page today πŸ’… yes that's the manual name, it's a type page, not a function β€” she's a type page, she doesn't do anything, she just IS. iconic behavior honestly.


πŸ“š LIBRARY

Standard C library (libc) 🫢


πŸŽ€ SYNOPSIS

#include <sys/un.h>

struct sockaddr_un {
    sa_family_t  sun_family;  /* Address family */
    char         sun_path[];  /* Socket pathname */
};

look at her. two fields. no notes. 😌


πŸ’– DESCRIPTION

sockaddr_un β€” it describes a UNIX domain socket address. that's the whole thing, that's the job, she describes a UNIX domain socket address and she does it flawlessly fr fr πŸ¦‹


⭐ STANDARDS

POSIX.1-2024. ✨


🌸 HISTORY

POSIX.1-2001. she's been here since 2001 and she's still serving πŸ’œ


πŸ‘‘ SEE ALSO

  • sockaddr(3) β€” go read her sibling, they're a matching set πŸŽ€

and that's the page!! no cap, that's genuinely all of it β€” she's short, she's sweet, she's a struct and a dream πŸŒˆπŸ’–

reminder bestie: this was Linux man-pages version 6.20, dated 2025-11-25 β€” so if you're reading this later and something changed, that's on the future, not on me πŸ™ˆ

mwah, go build something cute with your sockets πŸ«Άβœ¨πŸŽ€πŸ’…

πŸ“¦ where this page comes from
  • arch rolling: man-pages 6.20-1 Β· BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
  • nixpkgs unstable: man-pages 6.20
  • πŸ“œ the page's license: Linux-man-pages-copyleft
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms