C Programming/wchar.h/putwc

Name
Putwc

Parameters
c is used for the character to be written. stream for pointer to FILE structure.

description
It is a standard library function. this function write a wide character to a FILE stream. it is included in the standard library Wchar.h. putwc function writes a wide character to output stream. it advances the file position accordingly. putwc function is same as fputwc.

Return value
on success this function return 0. otherwise it will give non-zero value.