Commit Graph

3 Commits

Author SHA1 Message Date
Bananymous 96f3efbf86 LibC: Fix enviroment variable allocation 2025-06-28 20:25:35 +03:00
Bananymous 8aa4e4ff1e LibC: Implement `clearenv`
This is GNU extension but seems nice to have :D
2025-05-28 03:10:01 +03:00
Bananymous bdbde25784 LibC: Rewrite environ handling
environ is only allocated on heap when you insert new variables.

environment variables are only `free`'d if they are `malloc`'d by libc
2025-04-16 21:08:01 +03:00