[libc-commits] [libc] [libc][stdlib] Implement setenv() with environment management infrastructure (PR #163018)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Wed Oct 22 10:18:43 PDT 2025


================
@@ -0,0 +1,141 @@
+//===-- Implementation of setenv ------------------------------------------===//
----------------
michaelrj-google wrote:

`setenv` is actually a posix specific function, unlike `getenv` which is C standard. In this case it should probably go in the `linux` subfolder since it needs to use linux specifics.

https://github.com/llvm/llvm-project/pull/163018


More information about the libc-commits mailing list