Home | History | Annotate | Download | only in jni
      1 #include <cstdio>
      2 
      3 int main()
      4 {
      5     std::FILE* fp;
      6     int a = std::getchar();
      7     int b = std::putchar(a);
      8     std::clearerr(fp);
      9     int c = std::feof(fp);
     10     int d = std::ferror(fp);
     11 
     12     return 0;
     13 }
     14