1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/avr8_common: implement perror()

This commit is contained in:
Benjamin Valentin 2023-04-25 23:01:26 +02:00 committed by Benjamin Valentin
parent 4a0c5e687f
commit 5274e30178

View File

@ -177,4 +177,9 @@ ssize_t write(int fd, const void *src, size_t count)
#endif
}
void perror(const char *s)
{
printf("%s: %s\n", s, strerror(errno));
}
/** @} */