Skip to content

Commit

Permalink
lib: Kconfig: add entry for errno_str() function
Browse files Browse the repository at this point in the history
Signed-off-by: Przemyslaw Marczak <[email protected]>
Acked-by: Simon Glass <[email protected]>
  • Loading branch information
bobenstein authored and sjg20 committed May 15, 2015
1 parent bf2e5d5 commit 6501ff6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6501ff6

Please sign in to comment.