FS3D(3)

πŸ“¦ version 93vu, in opensuse-leap 16.0

πŸ’… FS3D(3) β€” Library Functions Manual πŸ¦‹

okay so this is the fs3d page from the Library Functions Manual, and bestie, it's a short one but it's literally the whole on/off switch for 3D. let's get into it ✨


🌸 NAME 🌸

fs3d β€” the 3D (nDFS) on/off switch. that's it. that's the vibe. πŸŽ€


✨ SYNOPSIS ✨

#include <fs3d.h>

int          fs3d(int op);

you include the header, you call the function, you pick your op. iconic, no notes πŸ’…


πŸ”₯ DESCRIPTION πŸ”₯

so fs3d controls and queries whether the 3D file system (aka nDFS) is enabled. nerdy AND nosy, we love a multi-talented icon πŸ‘‘

important vibe check first: 0 is returned if the current process cannot mount 3D files. like, if you don't have the range, you get a zero. respect the boundary 🫢

op can be one of these bad boys:

  • FS3D_TEST β€” returns FS3D_ON [1] if 3D is enabled, FS3D_OFF [0] otherwise. just peeking, not touching πŸ‘€
  • FS3D_ON β€” enables 3D and returns the previous 3D state (either FS3D_ON or FS3D_OFF). so you flip it on and it tells you what it used to be. main character behaviour, honestly ⭐
  • FS3D_LIMIT(limit) β€” sets the viewpath level limit to limit. the previous limit is returned. old limit out, new limit in, slay πŸ¦‹
  • FS3D_INIT β€” re-initialize the 3D tables. it's for debugging. that's the whole lore, don't ask more πŸ™ˆ

🌈 SEE ALSO 🌈

  • 3D(1) β€” go read that one too, iykyk πŸ’œ

and that's the page, bestie! πŸŽ€ the footer is just FS3D(3) once more (Library Functions Manual energy, no date, no version β€” she's mysterious like that πŸ’€), so consider this your cute lil sign-off: stay 3D, stay enabled, and always check the return value πŸ’–βœ¨πŸŒΈ

πŸ“¦ where this page comes from