#include <stdio.h>
1、fprintf
fprintf(stderr, "Socket error: (errno: %d) %s\r\n", errno, strerror(errno));
2、perror
extern void perror (__const char *__s);
eg:
perror("malloc");
3、@@todo
1、fprintf
fprintf(stderr, "Socket error: (errno: %d) %s\r\n", errno, strerror(errno));
2、perror
extern void perror (__const char *__s);
eg:
perror("malloc");
3、