]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/signames.h
tableprinter: removed column type macros
[libucw.git] / ucw / signames.h
index 0876bab54946419246f1824ad377116189436cad..e4922985e28dbee9b11de449f6ca4a0aed283e98 100644 (file)
@@ -7,11 +7,19 @@
 #ifndef _UCW_SIGNAMES_H
 #define _UCW_SIGNAMES_H
 
+#ifdef CONFIG_UCW_CLEAN_ABI
+#define sig_name_to_number ucw_sig_name_to_number
+#define sig_number_to_name ucw_sig_number_to_name
+#endif
+
 /***
  * POSIX lacks facilities for conversion between signal names
  * and signal numbers. They are available in LibUCW, but please
  * be aware that some signals might be missing on your system.
  * If they do, please notify LibUCW maintainers.
+ *
+ * The GNU C Library provides `strsignal()` with similar function,
+ * but it returns human-readable strings like "Segmentation fault".
  ***/
 
 /**