MBKGETENV(3)

πŸ“¦ version 5.1.1, in fedora 43, fedora 44

πŸ’– MBKGETENV πŸ’–

okay bestie, welcome to the MBK UTILITY FUNCTIONS corner of the manual, aka MBKGETENV(3). pull up a chair, grab a boba, we're gonna talk about finding things in the environment. it's giving detective energy fr fr πŸ”βœ¨


✨ NAME ✨

mbkgetenv β€” get an environment variable 🫢


🌸 ORIGIN 🌸

this software belongs to the ALLIANCE CAD SYSTEM and it was developed by the ASIM team at the LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France. oui oui, trΓ¨s iconique πŸ‡«πŸ‡·πŸ‘‘


πŸ’… SYNOPSIS πŸ’…

#include MUT_H

char *mbkgetenv(const char *name);

πŸ¦‹ DESCRIPTION πŸ¦‹

so the mbkgetenv() function goes on a little quest through the environment list, searching for a string that matches the string pointed to by name. the strings it's looking at are all shaped like name = value, that's the vibe. πŸ’–


⭐ RETURN VALUE ⭐

if it finds your girl, mbkgetenv() hands you back a pointer to the value in the environment. slay. πŸ’…

if there's no match, you get NULL instead. no cap, that's just how it is. 😭

heads up bestie: if MBK_TRACE_GETENV is set to "yes", then mbkgetenv() will print debug info to stdout before the real getenv() syscall is done. so you'll see the tea before the tea, iykyk πŸ”₯

🌈 SEE ALSO 🌈


πŸŽ€ BUG REPORT πŸŽ€

this tool is under development at the ASIM department of the LIP6 laboratory.

we need your feedback to improve documentation and tools. please please please, the devs are literally asking, don't leave them on read πŸ™ˆπŸ«Ά


ASIM/LIP6 β€” version vibes: $Date: 2002/03/08 13:51:03 $ ⏰✨ and that's the whole page, ily, go forth and read your env vars responsibly πŸ’œπŸ§š