- t2ex
- t2ex_source/include/t2ex/errno.h - 14.0KB - 285 lines
77: #ifndef ERRNO
78: #define ERRNO(er) (MERCD(er) == EC_ERRNO ? SERCD(er) : 0)
79: #endif
- t2ex_source/kernel/sysmain/src/network_sample/dhclient.c - 13.2KB - 407 lines
92: sd = so_socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
93: DEBUG_PRINT(("init_receiver: so_socket = %d(%d, %d)\n", sd, MERCD(sd), SERCD(sd)));
94:
- More results from dhclient.c
- t2ex_source/kernel/sysmain/src/network_sample/httpclient.c - 3.7KB - 111 lines
75: sd = so_socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
76: DEBUG_PRINT(("http_get: so_socket = %d(%d, %d)\n", sd, MERCD(sd), SERCD(sd)));
77: if ( sd < 0 ) {
- More results from httpclient.c
- t2ex_source/kernel/sysmain/src/network_sample/net_show.c - 7.0KB - 223 lines
101: if (len < 0) {
102: printf("error: so_getifaddrs: %d(%d,%d)\n", len, MERCD(len),
103: SERCD(len));
- More results from net_show.c
- t2ex_source/kernel/sysmain/src/network_sample/net_test.c - 12.1KB - 415 lines
86: re = http_get("t-engine.org", "/", buf, HTTP_BUFSIZE);
87: DEBUG_PRINT(("server_task: http_get = %d(%d, %d)\n", re, MERCD(re), SERCD(re)));
88: if ( re < 0 ) {
- More results from net_test.c
- t2ex_source/kernel/sysmain/src/network_sample/ping.c - 7.7KB - 229 lines
98: re = so_select(sd+1, &fds, NULL, NULL, &tv);
99: DEBUG_PRINT(("recv_icmp_echo_reply: so_select = %d(%d, %d)\n", re, MERCD(re), SERCD(re)));
100: if ( re < 0 ) {
- More results from ping.c
- t2ex_source/kernel/sysmain/src/network_sample/route.c - 7.4KB - 226 lines
108: sock = so_socket(AF_ROUTE, SOCK_RAW, 0);
109: DEBUG_PRINT(("route_add: so_socket = %d(%d, %d)\n", sock, MERCD(sock), SERCD(sock)));
110: so_shutdown(sock, SHUT_RD);
- More results from route.c
- t2ex_source/kernel/sysmain/src/network_sample/util.c - 7.1KB - 246 lines
127: re = so_ioctl(sd, SIOCGIFFLAGS, &ifr);
128: DEBUG_PRINT(("if_updown: so_ioctl = %d(%d, %d)\n", re, MERCD(re), SERCD(re)));
129: if ( re < 0 ) {
- More results from util.c
- t2ex_source/lib/libc/src/stdlib/strercd_r.c - 8.5KB - 195 lines
59: } e_tbl[] = {
60: {MERCD(E_OK), "E_OK: Completed successfully"},
61: {MERCD(E_SYS), "E_SYS: System error"},
- More results from strercd_r.c
- t2ex_source/t2ex/fs/fimp/src/fimp_fat.c - 201.0KB - 6,353 lines
5891: {
5892: if (err < E_OK && MERCD(err) != EC_ERRNO) {
5893: switch (MERCD(err)) {
- More results from fimp_fat.c