URL
https://opencores.org/ocsvn/c0or1k/c0or1k/trunk
Subversion Repositories c0or1k
[/] [c0or1k/] [trunk/] [conts/] [posix/] [libposix/] [errno.c] - Rev 2
Compare with Previous | Blame | View Log
#include <errno.h> #include <stdio.h> #include <libposix.h> int errno_variable; void perror(const char *str) { print_err("%s: %d\n", str, errno); } int *__errno_location(void) { return &errno_variable; }