bwaaaa why do i need to use glibc or #define _GNU_SOURCE for accessing env vars via char** environ
(kemona_halftau)
@thing why not just getenv? (or forking then systeming env and reading from stdout)
(kemona_halftau)
@thing btw have you used fork in the past?
(kemona_halftau)
@thing i dont know, but if you want to set environment variables for subprocesses there are the exec[somethingsomething]e calls
(kemona_halftau)
@thing sadly i dont think it is possible to change environment variables for the parent process
@noisytoot @kemona_halftau well idrc
i’m just writing a tiny wrapper program