]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
*** empty log message ***
authormuench <muench>
Mon, 6 Mar 2000 16:13:50 +0000 (16:13 +0000)
committermuench <muench>
Mon, 6 Mar 2000 16:13:50 +0000 (16:13 +0000)
hadaq/ctrlctu.c

index 00fc24afd63daac9eec646ad3a34bc7e99b57d67..1cfe63982fe233826ce54eee591aff6a71cd5c95 100644 (file)
@@ -1,4 +1,4 @@
-
+#define _XOPEN_SOURCE
 #include <stddef.h>
 
 #include <errno.h>
@@ -76,7 +76,7 @@ int main(int argc, char *argv[])
        system("/usr/local/bin/dtuctrl -t ctu start");
        (*ctuEnabled) = 1;
        if (0 == setjmp(terminateJmp)) {
-               sleep(32767);
+               pause();
        }
        sleep(3);
        system("/usr/local/bin/dtuctrl -t ctu stop");