UNGETWC(3S)		UNIX  ¥é¥¤¥Ö¥é¥ê	UNGETWC(3S)

[Ì¾Á°]
ungetwc - ÆþÎÏ¥¹¥È¥ê¡¼¥à¤Ø¤Îwchar_t·¿Ê¸»ú¤ÎÊÖ´Ô

[·Á¼°]
#include <stdio.h>
#include <nje/nje.h>

int ungetwc(c, stream)
int c;
FILE *stream;

[µ¡Ç½ÀâÌÀ]
wchar_t·¿Ê¸»úc¤òÆþÎÏ¥¹¥È¥ê¡¼¥à¤ËÂÐ±þ¤¹¤ë¥Ð¥Ã¥Õ¥¡¤ËÁÞÆþ¤·¤Þ¤¹¡£¤³¤ÎÊ¸»úc¤Ï¤½¤Î¥¹¥È¥ê¡¼¥à¤ËÂÐ¤·¼¡¤Ëgetwc¤ò¸Æ¤Ó½Ð¤¹»þ¤ËÊÖ¤µ¤ì¤Þ¤¹¡£ungetwc¤Ïc¤òÊÖ¤·¡¢¤«¤Ä¥Õ¥¡¥¤¥ë¥¹¥È¥ê¡¼¥à¤òÊÑ¹¹¤»¤º¤Ë¤½¤Î¤Þ¤Þ¤Î¾õÂÖ¤Ë¤·¤Æ¤ª¤­¤Þ¤¹¡£¥¹¥È¥ê¡¼¥à¤«¤éÆÉ¤ß¤È¤ê¤¬¤¹¤Ç¤Ë¤ª¤³¤Ê¤ï¤ì¤Æ¤¤¤Æ¡¢¤½¤Î¥¹¥È¥ê¡¼¥à¤¬¼ÂºÝ¤Ë¥Ð¥Ã¥Õ¥¡¤ËÆþ¤ì¤é¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë1Ê¸»ú¤ÎÊÖ´Ô¤¬ÊÝ¾Ú¤µ¤ì¤Þ¤¹¡£c¤¬EOF¤Ç¤¢¤ë¾ì¹ç¡¢¥Ð¥Ã¥Õ¥¡¤ËÂÐ¤·¤Æ¤Ï²¿¤â¤»¤ºEOF¤òÊÖ¤·¤Þ¤¹¡£
fseek¤Ç¤ÏÁÞÆþ¤µ¤ì¤¿Ê¸»ú¤Ë¤Ä¤¤¤Æ¤¹¤Ù¤Æ¤Îµ­²±¤ò¾Ãµî¤·¤Þ¤¹¡£

[´ØÏ¢¹àÌÜ]
getwc(3s)

[¿ÇÃÇ]
Ê¸»ú¤òÁÞÆþ¤Ç¤­¤Ê¤¤¾ì¹ç¤ÏEOF¤òÊÖ¤·¤Þ¤¹¡£