mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-03 14:20:12 +08:00
Add wmkdir function
darcs-hash:20060908141128-ac50b-9b67d1c5af9f746be18509bad3a0e8988efce29a.gz
This commit is contained in:
parent
eafa0a7169
commit
6107d63995
5
wutil.c
5
wutil.c
@ -544,3 +544,8 @@ wchar_t *wgetenv( const wchar_t *name )
|
||||
|
||||
}
|
||||
|
||||
int wmkdir( const wchar_t *name, int mode )
|
||||
{
|
||||
char *name_narrow =wutil_wcs2str(name);
|
||||
return mkdir( name_narrow, mode );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user