- t2ex
- bsd_source/lib/libc/src_bsd/string/strstr.c - 2.2KB - 56 lines
51: } while (sc != c);
52: } while (strncmp(s, find, len) != 0);
53: s--;
- bsd_source/t2ex/network/net/src_bsd/net/bpf.c - 56.1KB - 2,015 lines
1121: if (strlen(ifr->ifr_name) == 4
1122: && strncmp(ifr->ifr_name, "Net", 3) == 0
1123: && 'a' <= ifr->ifr_name[3] && ifr->ifr_name[3] <= 'z') {
- bsd_source/t2ex/network/net/src_bsd/net/if.c - 61.4KB - 2,117 lines
1045: if (strlen(ifc->ifc_name) == cp - name &&
1046: strncmp(name, ifc->ifc_name, cp - name) == 0)
1047: break;
- bsd_source/t2ex/network/net/src_bsd/netinet/tcp_usrreq.c - 73.2KB - 2,069 lines
1602: newp == NULL ||
1603: strncmp(newname, tcp_congctl_global_name, sizeof(newname)) == 0)
1604: return error;
- bsd_source/t2ex/network/net/src_bsdlib/libc/resolv/res_init.c - 36.4KB - 1,026 lines
383: #define MATCH(line, name) \
384: (!strncmp(line, name, sizeof(name) - 1) && \
385: (line[sizeof(name) - 1] == ' ' || \
- More results from res_init.c
- t2ex_source/kernel/sysmain/src/appl_main.c - 3.6KB - 106 lines
87:
88: if (strncmp(buf, "quit", 1) == 0) {
89: fin = 1;
- More results from appl_main.c
- t2ex_source/kernel/sysmain/src/command.c - 24.4KB - 884 lines
848: cmd_call(ac, av);
849: } else if (strncmp(av[0], "?", 1) == 0) {
850: P("date [y m d [h m s]]\n");
- t2ex_source/kernel/sysmain/src/network_sample/net_show.c - 7.0KB - 223 lines
119: for( ; ifa != NULL; ifa=ifa->ifa_next) {
120: if (strncmp(ifa->ifa_name, lastname, IFNAMSIZ) != 0) {
121: printf("%s:\n", ifa->ifa_name);
- t2ex_source/kernel/sysmain/src/network_sample/util.c - 7.1KB - 246 lines
106: if (dl->sdl_family == AF_LINK && dl->sdl_type == IFT_ETHER) {
107: if ( strncmp(ifname, dl->sdl_data, dl->sdl_nlen) == 0 ) {
108: memcpy(buf, LLADDR(dl), 6);
- t2ex_source/t2ex/fs/fimp/src/fimp_console.c - 12.8KB - 444 lines
100: len = strlen(coninf->connm);
101: if (*name++ == '/' && strncmp(coninf->connm, name, len) == 0) {
102: /* connm is matched */