rizsotto / Bear

Bear is a tool that generates a compilation database for clang tooling.
GNU General Public License v3.0
4.67k stars 308 forks source link

libsys: Add functions to read the environment variables without passing envp #503

Open samu698 opened 1 year ago

samu698 commented 1 year ago

The functions sys::env::get and sys::env::get_envp allow to read the environment vars directly from the environ extern and it will allow to remove all the envp arguments passed to functions.

samu698 commented 1 year ago

After this PR is merged I have the next PR in my fork at https://github.com/samu698/Bear/tree/remove-envp :wink: