mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
cpu/avr8_common: implement perror()
This commit is contained in:
parent
4a0c5e687f
commit
5274e30178
@ -177,4 +177,9 @@ ssize_t write(int fd, const void *src, size_t count)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void perror(const char *s)
|
||||||
|
{
|
||||||
|
printf("%s: %s\n", s, strerror(errno));
|
||||||
|
}
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
Loading…
Reference in New Issue
Block a user