예제 #1
0
파일: log.cpp 프로젝트: reprabbit/minetest
 int overflow(int c)
 {
     bufchar(c);
     return c;
 }
예제 #2
0
파일: log.cpp 프로젝트: reprabbit/minetest
 std::streamsize xsputn(const char *s, std::streamsize n)
 {
     for(int i=0; i<n; i++)
         bufchar(s[i]);
     return n;
 }
예제 #3
0
void bufstr(char *s){ while(*s) bufchar(*s++); }