NET_Version(3)

πŸ“¦
version 3.2.0 Β· 2 versions
, in fedora 43, fedora 44

πŸ’– NET_Version πŸ’–

okay bestie, so this is a page from the SDL_net3 functions manual β€” specifically the one about NET_Version, which is genuinely one of the cutest little functions you will ever meet. no cap. πŸ¦‹


✨ NAME ✨

NET_Version β€” this function gets the version of the dynamically linked SDL_net library. that's it. that's the whole job. she's a one-trick pony and she ate. πŸ’…


🌸 SYNOPSIS 🌸

so to even use her, you gotta pull her in first:

#include <SDL3_net/SDL_net.h>

int NET_Version(void);

yeah. no arguments, no drama, she just takes void and minds her own business. queen behaviour honestly. πŸ‘‘


πŸŽ€ RETURN VALUE πŸŽ€

she returns the SDL_net version. that's the whole return value. it's giving minimalist icon. literally just hand her an int and she'll tell you which SDL_net you're working with. 🫢


🧚 THREAD SAFETY 🧚

good news fr fr β€” it is safe to call this function from any thread. so go wild, spawn your threads, she's not gonna fumble. 🌈


⭐ AVAILABILITY ⭐

this function is available since SDL_net 3.0.0. so if you're on anything older... yeah, she doesn't exist yet. sad. πŸ’€


ngl bestie, this is the whole page. no hidden options, no gotchas, no deprecated landmines. just vibes and a version number. πŸ“

and that's a wrap, gorgeous πŸ’œ β€” this page came to you from SDL_net, version 3.2.0, filed under NET_Version(3). go forth and check your versions, main character. βœ¨πŸŽ€

πŸ“¦ where this page comes from