]>
cloudbase.mooo.com Git - z180-stamp.git/blob - avr/strerror.c
2 * (C) Copyright 2018 Leo C. <erbl259-lmu@yahoo.de>
4 * SPDX-License-Identifier: GPL-2.0
10 static const FLASH
char * const FLASH error_strings
[] = {
14 const FLASH
char * my_strerror_P(int errnum
)
17 return fat_rctostr(errnum
);
22 if ((unsigned) errnum
>= ARRAY_SIZE(error_strings
))
25 return error_strings
[errnum
];