migrate substitution keywords to SVN
[reactos.git] / reactos / lib / crtdll / io / setmode.c
1 /* $Id$
2 *
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
8 * UPDATE HISTORY:
9 * 28/12/98: Created
10 */
11
12 #include <msvcrt/io.h>
13 #include <msvcrt/stdio.h>
14 #include <msvcrt/internal/file.h>
15
16 #define NDEBUG
17 #include <msvcrt/msvcrtdbg.h>
18
19
20 /*
21 * @implemented
22 */
23 int _setmode(int _fd, int _newmode)
24 {
25 DPRINT("_setmod(fd %d, newmode %x)\n", _fd, _newmode);
26 return __fileno_setmode(_fd, _newmode);
27 }