--- zfuncs.h.orig 2026-07-04 06:37:19 UTC +++ zfuncs.h @@ -17,13 +17,15 @@ *********************************************************************************/ -#include +#include +#include #include #include #include #include #include -#include +#include +#include #include #include #include @@ -129,6 +131,8 @@ pthread_t start_Jthread(void * threadfunc(void *), voi int wait_Jthread(pthread_t tid); // wait for completion (join thread) void synch_threads(int NT = 0); // synchronize NT threads int main_thread(); // return 1 if main() thread, else 0 +int get_nprocs(); +int get_prog_path(char *, size_t); int zshell(ch *options, ch *command, ...); // do shell command and get status int kill_procname(ch *wildname); // kill processes matching wilcard name int signalProc(ch *pname, ch *signal); // send signal to process by process name