lib: Kconfig: add entry for errno_str() function

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Przemyslaw Marczak 2015-04-20 20:07:40 +02:00 committed by Simon Glass
parent bf2e5d5be2
commit 6501ff6251

View File

@ -82,4 +82,12 @@ config SHA_PROG_HW_ACCEL
is performed in hardware.
endmenu
config ERRNO_STR
bool "Enable function for getting errno-related string message"
help
The function errno_str(int errno), 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
endmenu