Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenputch.c
Go to the documentation of this file.
00001 /* 00002 * COPYRIGHT: See COPYING in the top level directory 00003 * PROJECT: ReactOS system libraries 00004 * FILE: lib/msvcrt/conio/putch.c 00005 * PURPOSE: Writes a character to stdout 00006 * PROGRAMER: Ariadne 00007 * UPDATE HISTORY: 00008 * 28/12/98: Created 00009 */ 00010 00011 #include <precomp.h> 00012 00013 /* 00014 * @implemented 00015 */ 00016 int _putch(int c) 00017 { 00018 DWORD NumberOfCharsWritten; 00019 00020 if (WriteFile(GetStdHandle(STD_OUTPUT_HANDLE),&c,1,&NumberOfCharsWritten,NULL)) { 00021 return -1; 00022 } 00023 return NumberOfCharsWritten; 00024 } Generated on Sun May 27 2012 04:36:27 for ReactOS by
1.7.6.1
|