1 /* -*-c-*- */ 2 #include <unistd.h> 3 #include <stdio.h> 4 #include <sys/types.h> 5 #include "libs/ftime.h" 6 #include <sys/wait.h> 7 8 #if HAVE_GETOPT_H 9 #include <getopt.h> 10 #endif 11 12 #include <errno.h> 13 14 #include "libs/Module.h" 15 #include "libs/fvwmlib.h" 16 #include "fvwm/fvwm.h" 17 #include "libs/vpacket.h" 18 #include "libs/fvwm_sys_stat.h" 19 20 #define F_NAME "FvwmCommand-" 21 22 /* number of default arguments when invoked from fvwm */ 23 #define FARGS 6 24 25 #define SOL sizeof( unsigned long ) 26 27 #ifndef HAVE_MKFIFO 28 #define mkfifo(path, mode) ((errno = ENOSYS) - ENOSYS - 1) 29 #endif 30 31 32 char * fifos_get_default_name(void); 33