FACT++  1.0
void tcpip_get_error ( char *  str,
int  code 
)

Definition at line 1842 of file tcpip.c.

Referenced by dna_report_error(), and dna_report_error_old().

1843 {
1844  DISABLE_AST
1845 #ifndef WIN32
1846  if(code){}
1847  if((errno == 0) && (h_errno == HOST_NOT_FOUND))
1848  strcpy(str,"Host not found");
1849  else
1850  strcpy(str, strerror(errno));
1851 #else
1852  my_strerror(code, str);
1853 #endif
1854  ENABLE_AST
1855 }
char str[80]
Definition: test_client.c:7

+ Here is the caller graph for this function: