123456789101112131415161718192021222324252627282930313233343536 |
- #include <errno.h>
- #include <features.h>
- int __syscall_error(void) attribute_hidden;
- int __syscall_error(void)
- {
- register int edx __asm__ ("%edx");
- __asm__ ("mov %eax, %edx\n\t"
- "negl %edx");
- __set_errno (edx);
- return -1;
- }
|