FACT++  1.0
int read_str_char ( char *  str,
char *  cc 
)

Definition at line 2011 of file didMarkus.c.

Referenced by did_read_string().

2012 {
2013 
2014  if(str[0] == '\'')
2015  *cc = str[1];
2016  else if(str[0] == '\"')
2017  return(0);
2018  else if((str[0] == '0') && (str[1] == 'x'))
2019  sscanf(str+2,"%x",(int *)cc);
2020  else if(isalpha(str[0]))
2021  return(-1);
2022  else
2023  sscanf(str,"%d",(int *)cc);
2024  return(1);
2025 }
char str[80]
Definition: test_client.c:7

+ Here is the caller graph for this function: