blob: 83dcd90880a693980e506cba1e36192b9cafc5c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include <stdint.h>
#include <stdio.h>
#include <time.h>
#include <unistd.h>
void main(void) {
int x = 0;
printf("We did it ma!\n");
while(1) {
sleep(1);
printf("0x%04x:0x%08x: 0x%08x\n", getpid(), (uint32_t) getpdir(), x++);
}
}
|