kstrncpy
if (kstrncpy(buf, (u_long)netif.if_name, sizeof(buf)) == -1)
int kstrncpy __P((char *, long, int n));
extern int kstrncpy __P((char *, long, int));