fh = _open_osfhandle((intptr_t)sock, _O_TEXT);
if (-1 == fh)
{
- perror("cannot _open_osfhandle");
+ perror("cannot _open_osfhandle");
exit(1);
}
fh = _open_osfhandle((intptr_t)sock, _O_TEXT);
if (-1 == fh)
{
- perror("cannot _open_osfhandle");
+ perror("cannot _open_osfhandle");
exit(1);
}
case of bit variables which case it becomes
[address] [assembler bit address] [v] */
/* first skip thru white space */
- while (isspace(*resp)) resp++ ;
+ resp = trim_left(resp);
if (strncmp(resp, "0x",2) == 0)
resp += 2;
for (i = 0 ; i < size ; i++ )
{
/* skip white space */
- while (isspace(*resp)) resp++ ;
+ resp = trim_left(resp);
b[i] = strtol(resp,&resp,16);
}