#include #include #include #include #include #include #include #include int main(int argc,char **argv) { printf("!! Do not edit this file. It is automatically generated.\n"); printf("!! Edit %s.in instead.\n",__FILE__); printf("module sia_const\n"); printf("use iso_c_binding, only: c_int64_t\n"); printf("implicit none\n"); printf("\n"); printf("! glob.h constants\n"); @ int64_t GLOB_ERR 0 @ int64_t GLOB_MARK 0 @ int64_t GLOB_NOSORT 0 @ int64_t GLOB_DOOFS 0 @ int64_t GLOB_NOCHECK 0 @ int64_t GLOB_APPEND 0 @ int64_t GLOB_NOESCAPE 0 @ int64_t GLOB_PERIOD 0 @ int64_t GLOB_ALTDIRFUNC 0 @ int64_t GLOB_BRACE 0 @ int64_t GLOB_NOMAGIC 0 @ int64_t GLOB_TILDE 0 @ int64_t GLOB_TILDE_CHECK 0 @ int64_t GLOB_ONLYDIR 0 printf("\n"); printf("! stat constants\n"); @ int64_t S_IFMT 0 @ int64_t S_IFSOCK 0 @ int64_t S_IFLNK 0 @ int64_t S_IFREG 0 @ int64_t S_IFBLK 0 @ int64_t S_IFDIR 0 @ int64_t S_IFCHR 0 @ int64_t S_IFIFO 0 @ int64_t S_ISUID 0 @ int64_t S_ISGID 0 @ int64_t S_ISVTX 0 @ int64_t S_IRWXU 0 @ int64_t S_IRUSR 0 @ int64_t S_IWUSR 0 @ int64_t S_IXUSR 0 @ int64_t S_IRWXG 0 @ int64_t S_IRGRP 0 @ int64_t S_IWGRP 0 @ int64_t S_IXGRP 0 @ int64_t S_IRWXO 0 @ int64_t S_IROTH 0 @ int64_t S_IWOTH 0 @ int64_t S_IXOTH 0 printf("\n"); printf("! Signal numbers\n"); @ int64_t SIGHUP 0 @ int64_t SIGINT 0 @ int64_t SIGQUIT 0 @ int64_t SIGILL 0 @ int64_t SIGABRT 0 @ int64_t SIGFPE 0 @ int64_t SIGKILL 0 @ int64_t SIGSEGV 0 @ int64_t SIGPIPE 0 @ int64_t SIGALRM 0 @ int64_t SIGTERM 0 @ int64_t SIGUSR1 0 @ int64_t SIGUSR2 0 @ int64_t SIGCHLD 0 @ int64_t SIGCONT 0 @ int64_t SIGSTOP 0 @ int64_t SIGTSTP 0 @ int64_t SIGTTIN 0 @ int64_t SIGTTOU 0 @ int64_t SIGBUS 0 @ int64_t SIGPOLL 0 @ int64_t SIGIO 0 @ int64_t SIGPROF 0 @ int64_t SIGSYS 0 @ int64_t SIGTRAP 0 @ int64_t SIGURG 0 @ int64_t SIGVTALRM 0 @ int64_t SIGXCPU 0 @ int64_t SIGXFSZ 0 printf("end module sia_const\n"); return 0; }