Home
last modified time | relevance | path

Searched refs:new_str (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/net/irda/
Dirias_object.c48 char *new_str; in strndup() local
60 new_str = kmalloc(len + 1, GFP_ATOMIC); in strndup()
61 if (new_str == NULL) { in strndup()
67 memcpy(new_str, str, len); in strndup()
68 new_str[len] = '\0'; in strndup()
70 return new_str; in strndup()