284ad2a04b
A tweak was needed for Rawhide (or anything after [1]): readelf requires "-W" to display the "_environ" symbol without truncating. [1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=0942c7ab94e554657c3e11ab85ae7f15373ee80d
8 lines
146 B
C
8 lines
146 B
C
#include <stdio.h>
|
|
extern char **environ;
|
|
int main(int argc, char **argv) {
|
|
printf("%p\n", environ);
|
|
return 0;
|
|
}
|
|
|