Create stubs for chsize, dup, and dup2.

This commit is contained in:
Dimitrie O. Paun 2003-01-11 21:01:04 +00:00 committed by Alexandre Julliard
parent 1880800603
commit 13098ea188
2 changed files with 30 additions and 3 deletions

View File

@ -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.@)
*/

View File

@ -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