]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/process.h
tableprinter: removed some obsolete FIXME, added some comments
[libucw.git] / ucw / process.h
index 1bbeedac3f07bb5379515683024cb986cb90e221..080685b8551cdc2a40d697d3c38ceaa25852f84a 100644 (file)
 #ifndef _UCW_PROCESS_H
 #define _UCW_PROCESS_H
 
+#ifdef CONFIG_UCW_CLEAN_ABI
+#define echo_command ucw_echo_command
+#define echo_command_v ucw_echo_command_v
+#define exec_command ucw_exec_command
+#define exec_command_v ucw_exec_command_v
+#define format_exit_status ucw_format_exit_status
+#define getproctitle ucw_getproctitle
+#define run_command ucw_run_command
+#define run_command_v ucw_run_command_v
+#define setproctitle ucw_setproctitle
+#define setproctitle_init ucw_setproctitle_init
+#endif
+
 /* proctitle.c */
 
+// Must be called before parsing of arguments
 void setproctitle_init(int argc, char **argv);
 void setproctitle(const char *msg, ...) FORMAT_CHECK(printf,1,2);
 char *getproctitle(void);
 
 /* exitstatus.c */
 
-#define EXIT_STATUS_MSG_SIZE 32
+#define EXIT_STATUS_MSG_SIZE 64
 int format_exit_status(char *msg, int stat);
 
 /* runcmd.c */