home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
vc98
/
crt
/
src
/
fputwchr.c
< prev
next >
Wrap
C/C++ Source or Header
|
1998-06-17
|
1KB
|
51 lines
/***
*fputwchr.c - write a wide character to stdout
*
* Copyright (c) 1993-1997, Microsoft Corporation. All rights reserved.
*
*Purpose:
* defines _fputwchar(), putwchar() - write a wide character to stdout,
* function version
*
*******************************************************************************/
#include <cruntime.h>
#include <stdio.h>
#include <tchar.h>
/***
*wint_t _fputwchar(ch), putwchar() - put a wide character to stdout
*
*Purpose:
* Puts the given wide character to stdout. Function version of macro
* putwchar().
*
*Entry:
* wint_t ch - character to output
*
*Exit:
* returns character written if successful
* returns WEOF if fails
*
*Exceptions:
*
*******************************************************************************/
wint_t __cdecl _fputwchar (
REG1 wint_t ch
)
{
return(putwc(ch, stdout));
}
#undef putwchar
wint_t __cdecl putwchar (
REG1 wint_t ch
)
{
return(_fputwchar(ch));
}