gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:strncpy from t2ex/t2ex_source/kernel/sysmain/src/network_sample/util.c (0.00 seconds)
t2ex
t2ex_source/kernel/sysmain/src/network_sample/util.c - 7.1KB - 246 lines
122: 
123:         strncpy(ifr.ifr_name, ifname, IFNAMSIZ-1);
124: 
166: p_iosa->sin_addr.s_addr = addr; 167: strncpy(ifr.ifr_name, ifname, IFNAMSIZ-1); 168: iore = so_ioctl(sd, SIOCSIFADDR, &ifr);
176: p_iosa->sin_addr.s_addr = mask; 177: strncpy(ifr.ifr_name, ifname, IFNAMSIZ-1); 178: iore = so_ioctl(sd, SIOCSIFNETMASK, &ifr);