[U-Boot] [PATCH v3 04/17] lib: Kconfig: add entry for errno_str() function
Przemyslaw Marczak
p.marczak at samsung.com
Tue Mar 24 21:30:38 CET 2015
Signed-off-by: Przemyslaw Marczak <p.marczak at samsung.com>
---
lib/Kconfig | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lib/Kconfig b/lib/Kconfig
index c9d2767..06d0b28 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -65,4 +65,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
--
1.9.1
More information about the U-Boot
mailing list