# Safety This must be passed a pointer to the environment variable buffer provided by the kernel, which is followed in memory by the auxv array.
(mut envp: *mut *mut u8)
| 127 | /// This must be passed a pointer to the environment variable buffer |
| 128 | /// provided by the kernel, which is followed in memory by the auxv array. |
| 129 | unsafe fn init_from_envp(mut envp: *mut *mut u8) { |
| 130 | while !(*envp).is_null() { |
| 131 | envp = envp.add(1); |
| 132 | } |
| 133 | init_from_auxp(envp.add(1).cast()) |
| 134 | } |
| 135 | |
| 136 | /// Process auxv entries from the auxv array pointed to by `auxp`. |
| 137 | /// |
no test coverage detected