When "use-explicitly-provided-auxv" is enabled, we export a function to be called during initialization, and passed a pointer to the original environment variable block set up by the OS.
(envp: *mut *mut u8)
| 119 | /// called during initialization, and passed a pointer to the original |
| 120 | /// environment variable block set up by the OS. |
| 121 | pub(crate) unsafe fn init(envp: *mut *mut u8) { |
| 122 | init_from_envp(envp); |
| 123 | } |
| 124 | |
| 125 | /// # Safety |
| 126 | /// |
no test coverage detected