Files
u-boot-sunxi/include
Przemyslaw Marczak 59345b1f0f lib: errno: introduce errno_str(): returns errno related message
The functions error's numbers are standarized - but the error
messages are not.

The errors are often handled with unclear error messages,
so why not use an errno standarized messages.

Advantages:
- This could decrease the binary size.
- Appended with a detailed information,
  the error message will be clear.

This commit introduces new function:
- const char *errno_to_str(int errno)

The functions returns a pointer to the errno corresponding text message:
- if errno is null or positive number - a pointer to "Success" message
- if errno is negative - a pointer to errno related message

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Reviewed-by: Tom Rini <trini@ti.com>
2014-12-11 13:18:41 -07:00
..
2014-07-30 08:48:03 -04:00
2014-07-18 19:42:16 +01:00
2014-07-18 19:42:10 +01:00
2014-11-13 14:49:01 +01:00
2014-11-21 08:13:17 +01:00
2014-06-21 10:06:58 -06:00
2014-10-06 17:34:40 +02:00
2014-10-25 15:27:36 -04:00
2014-12-01 15:24:26 -05:00
2014-11-19 08:48:41 +01:00
2014-12-05 08:06:15 -08:00
2014-11-19 08:48:42 +01:00
2014-06-19 11:18:55 -04:00
2014-10-25 15:27:37 -04:00
2014-06-20 11:54:29 -06:00
2014-10-22 16:56:41 -06:00
2014-08-01 18:44:56 +03:00
2014-10-27 14:35:55 +01:00
2014-11-24 12:00:00 +01:00
2014-10-22 10:36:50 -06:00
2014-10-27 14:35:55 +01:00
2014-06-11 16:27:06 -04:00
2014-11-25 06:34:15 -07:00