diff options
author | Przemyslaw Marczak | 2015-04-20 20:07:40 +0200 |
---|---|---|
committer | Simon Glass | 2015-05-14 18:49:36 -0600 |
commit | 6501ff6251d472177c68d628fe34ca03cb7f2287 (patch) | |
tree | 536cf80c87c5d263b1487f365fd9581f294387bc | |
parent | bf2e5d5be27b2fd4e9635e7421aea909fdc557f0 (diff) |
lib: Kconfig: add entry for errno_str() function
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | lib/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 0454a86a025..5b6cf3d68df 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -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 |