mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
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:
parent
bf2e5d5be2
commit
6501ff6251
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue