mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:23:05 +00:00
24 lines
530 B
C
24 lines
530 B
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS system libraries
|
|
* FILE: lib/crtdll/io/setmode.c
|
|
* PURPOSE: Sets the file translation mode
|
|
* PROGRAMER: Boudewijn Dekker
|
|
* UPDATE HISTORY:
|
|
* 28/12/98: Created
|
|
*/
|
|
|
|
#include <crtdll/io.h>
|
|
#include <crtdll/stdio.h>
|
|
#include <crtdll/internal/file.h>
|
|
|
|
#undef setmode
|
|
int setmode(int _fd, int _newmode)
|
|
{
|
|
return _setmode(_fd, _newmode);
|
|
}
|
|
|
|
int _setmode(int _fd, int _newmode)
|
|
{
|
|
return __fileno_setmode(_fd, _newmode);
|
|
}
|