latest version
This commit is contained in:
parent
8ab7b6f1ce
commit
89a33fffb6
|
|
@ -5,8 +5,8 @@
|
||||||
Programm: verify.c
|
Programm: verify.c
|
||||||
|
|
||||||
Bearbeiter : P. Hoge
|
Bearbeiter : P. Hoge
|
||||||
Datum : ??.??.??
|
Datum : 30.11.89
|
||||||
Version : 1.5
|
Version : 1.6
|
||||||
|
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
|
|
||||||
|
|
@ -16,6 +16,7 @@
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
|
#include <signal.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
@ -59,6 +60,13 @@ char **argv;
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Programm darf nicht abgebrochen werden */
|
||||||
|
signal(SIGALRM, SIG_IGN);
|
||||||
|
signal(SIGHUP, SIG_IGN);
|
||||||
|
signal(SIGINT, SIG_IGN);
|
||||||
|
signal(SIGQUIT, SIG_IGN);
|
||||||
|
signal(SIGTERM, SIG_IGN);
|
||||||
|
|
||||||
buf = 'V';
|
buf = 'V';
|
||||||
write(dd, &buf, 1); /* Start Request V: Verify */
|
write(dd, &buf, 1); /* Start Request V: Verify */
|
||||||
buf = stbuf.st_rdev; /* Minornummer (Typ + Drivenr.) */
|
buf = stbuf.st_rdev; /* Minornummer (Typ + Drivenr.) */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue