MBKGETENV(3)

πŸ“¦ version 5.1.1-unstable-2025-02, in nixos 26.05, nixpkgs unstable

✨ MBKGETENV(3) β€” get an environment variable ✨

okay bestie, this little icon lives in the MBK UTILITY FUNCTIONS section of the manual, and she's here to get an environment variable for you β€” no cap 🫢.

🌸 NAME 🌸

mbkgetenv β€” get an environment variable πŸ’….

πŸ¦‹ ORIGIN πŸ¦‹

okay so this software belongs to the ALLIANCE CAD SYSTEM, developed by the ASIM team at the LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France. Periodt 🌍✨

πŸŽ€ SYNOPSIS πŸŽ€

#include MUT_H

char *mbkgetenv(const char *name);

πŸ’– DESCRIPTION πŸ’–

okay so mbkgetenv() searches the environment list for a string that matches the string pointed to by name. The strings are of the form name = value. She's literally doing a vibe check on your environment list and matching by name πŸ’…βœ¨

πŸ‘‘ RETURN VALUE πŸ‘‘

mbkgetenv() returns a pointer to the value in the environment, or NULL if there is no match. No match? No problem, she gives you NULL and moves on 😭🫢

bestie-caveat: if MBK_TRACE_GETENV is set to "yes", mbkgetenv() will print debug info to stdout before thre real getenv() syscall is done. Yes, β€œthre” is literally what the page says β€” keep your eyes on the debug tea β˜•πŸ‘€

🌈 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. So like, if you spot something sus, tell them β€” feedback is the moment πŸ’–πŸ”₯


xoxo, ASIM/LIP6 β€” $Date: 2002/03/08 13:51:03 $ πŸ’– and yes, this is the MBKGETENV(3) page, mwah! πŸŽ€

πŸ“¦ where this page comes from