feba9b2eaac0d01a9bcf756ffc41cadb606836bc
1 /* $Id: setmode.c,v 1.6 2002/09/08 10:22:50 chorns Exp $
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS system libraries
5 * FILE: lib/crtdll/io/setmode.c
6 * PURPOSE: Sets the file translation mode
7 * PROGRAMER: Boudewijn Dekker
12 #include <msvcrt/io.h>
13 #include <msvcrt/stdio.h>
14 #include <msvcrt/internal/file.h>
17 #include <msvcrt/msvcrtdbg.h>
20 int _setmode(int _fd
, int _newmode
)
22 DPRINT("_setmod(fd %d, newmode %x)\n", _fd
, _newmode
);
23 return __fileno_setmode(_fd
, _newmode
);