9 lines
142 B
C
9 lines
142 B
C
int* __get_errno_address() {
|
|
int* address;
|
|
asm volatile(" \
|
|
mov $5, %%eax; \
|
|
int $80; \
|
|
":"=b"(address):);
|
|
return address;
|
|
}
|