SW_NAME_MLEN
if (name_len > SW_NAME_MLEN)
name_len = SW_NAME_MLEN;
char os_string[SW_NAME_MLEN] = "";