示例#1
0
/*----------------------------------------------------------------------*
                           rtp_wfile_chmode
 *----------------------------------------------------------------------*/
int rtp_wfile_chmode (unsigned short * name, unsigned char attributes)
{
	unsigned char realName[32];
	
	map_unicode_to_ascii((unsigned char *)realName,(unsigned char *) name);
	return(rtp_file_chmode (realName, attributes));
}
示例#2
0
BBOOL rtplatform_chmode(char RTSMB_FAR * name, unsigned char attributes)
{
    if (rtp_file_chmode (name, attributes) < 0)
    {
        return FALSE;
    }

    return TRUE;
}