comparison libcommon/chkblank.c @ 9:c9ef9e91dd8e

new libcommon, initial version
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 14 Mar 2021 06:55:38 +0000
parents
children
comparison
equal deleted inserted replaced
8:34bbb0585cab 9:c9ef9e91dd8e
1 #include <sys/types.h>
2 #include "simresp.h"
3
4 check_simresp_all_blank()
5 {
6 u_char *dp, *endp;
7
8 dp = sim_resp_data;
9 endp = sim_resp_data + sim_resp_data_len;
10 while (dp < endp)
11 if (*dp++ != 0xFF)
12 return(0);
13 return(1);
14 }