gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:strlen from t2ex/t2ex_source/t2ex/network/net/src/netmain/tkn_resctl.c (0.00 seconds)
t2ex
t2ex_source/t2ex/network/net/src/netmain/tkn_resctl.c - 9.2KB - 311 lines
85: 
86:         new->table.host = (char *)malloc( strlen(x->host) + 1, M_RTABLE,
87:                                           M_NOWAIT|M_ZERO );
92: if( x->aliases != NULL ) { 93: new->table.aliases = (char *)malloc(strlen(x->aliases) + 1, 94: M_RTABLE, M_NOWAIT|M_ZERO);
255: for( entry = host_tables; entry != NULL; entry = entry->next ) { 256: strsz = strlen(entry->table.host) + 1; 257: if( entry->table.aliases != NULL ) { 258: strsz += strlen( entry->table.aliases ) + 1; 259: }
282: table[i].host = (char*)strptr; 283: strptr += strlen( entry->table.host ) + 1; 284: strcpy( table[i].host, entry->table.host );
287: table[i].aliases = strptr; 288: strptr += strlen( entry->table.aliases ) + 1; 289: strcpy( table[i].aliases, entry->table.aliases );