Searched refs:unibuf (Results 1 – 1 of 1) sorted by relevance
1107 smb_wchar_t *unibuf; in smb_kshare_oemname() local1114 unibuf = smb_mem_alloc(length * sizeof (smb_wchar_t)); in smb_kshare_oemname()1116 (void) smb_mbstowcs(unibuf, shrname, length); in smb_kshare_oemname()1118 if (ucstooem(oem_name, unibuf, length, OEM_CPG_850) == 0) in smb_kshare_oemname()1121 smb_mem_free(unibuf); in smb_kshare_oemname()