diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c index 2346c8ce05c..df9527d31de 100644 --- a/dlls/msvcrt/file.c +++ b/dlls/msvcrt/file.c @@ -348,6 +348,33 @@ int _wchmod(const MSVCRT_wchar_t *path, int flags) return -1; } +/********************************************************************* + * _chsize (MSVCRT.@) + */ +int _chsize(int fd, long size) +{ + FIXME("(fd=%d, size=%ld): stub\n", fd, size); + return -1; +} + +/********************************************************************* + * _dup (MSVCRT.@) + */ +int _dup(int od) +{ + FIXME("(od=%d): stub\n", od); + return -1; +} + +/********************************************************************* + * _dup2 (MSVCRT.@) + */ +int _dup2(int od, int nd) +{ + FIXME("(od=%d, nd=%d): stub\n", od, nd); + return -1; +} + /********************************************************************* * _unlink (MSVCRT.@) */ diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec index 936f9e4e0ce..47197d0dc3f 100644 --- a/dlls/msvcrt/msvcrt.spec +++ b/dlls/msvcrt/msvcrt.spec @@ -179,7 +179,7 @@ @ cdecl _chgsign( double ) _chgsign @ cdecl -i386 _chkesp() _chkesp @ cdecl _chmod(str long) _chmod -@ stub _chsize #(long long) +@ cdecl _chsize (long long) _chsize @ cdecl _clearfp() _clearfp @ cdecl _close(long) _close @ cdecl _commit(long) _commit @@ -195,8 +195,8 @@ @ cdecl _cwait(ptr long long) _cwait @ stub _daylight @ stub _dstbias -@ stub _dup #(long) -@ stub _dup2 #(long long) +@ cdecl _dup (long) _dup +@ cdecl _dup2 (long long) _dup2 @ cdecl _ecvt( double long ptr ptr) ecvt @ cdecl _endthread () _endthread @ cdecl _endthreadex(long) _endthreadex