OSDN Git Service

20080820
[linuxcw/linuxcw.git] / linuxcw / cwrand / anunnec.c
1
2 #include<stdio.h>
3 #include<stdlib.h>
4 #include<string.h>
5 #include<unistd.h>
6 #include"libbeep.h"
7 #include"libcw.h"
8 #include"cwrand.h"
9 #include"almemsys.h"
10
11
12 int anunnec(int char_no, int exa_mode)
13 {
14 int co;
15 int list[17] = { 40, 42, 43, 44, 46, 47 };
16
17 for(co = 0; co < 17; co++){
18    if(char_no == list[co]){
19       if(exa_mode == 1){
20          return 1;
21          }
22       }
23    }
24
25 return 0;
26 }
27
28
29