home *** CD-ROM | disk | FTP | other *** search
- /* ****************************************************** */
- /* TEST.C */
- /* ****************************************************** */
- #include <stdio.h>
- #include "globals.h"
- #include "alaprot.h"
-
-
- void permfunc(int id,unsigned tics)
- {
- cprintf("Permalarm %d...\r\n",id);
- }
-
- void main(void )
- {
- perm_alarm(permfunc,17);
- perm_alarm(permfunc,7);
-
- TimeoutOn(10*18);
-
- while(!timeout);
-
- cputs("TIMEOUT..\r\n");
- }
- /* ****************************************************** */
- /* Ende von TEST.C */
-
-
-