13
test/issues/1065/print_maps.c
Normal file
13
test/issues/1065/print_maps.c
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
char command[128];
|
||||
|
||||
sprintf(command, "cat /proc/%d/maps", getpid());
|
||||
system(command);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user