Commit 13098ea1 authored by Dimitrie O. Paun's avatar Dimitrie O. Paun Committed by Alexandre Julliard

Create stubs for chsize, dup, and dup2.

parent 18808006
......@@ -349,6 +349,33 @@ int _wchmod(const MSVCRT_wchar_t *path, int flags)
}
/*********************************************************************
* _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.@)
*/
int _unlink(const char *path)
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment