Annotation of researchv10no/cmd/gre/io.h, revision 1.1.1.1

1.1       root        1: #ifndef        EPR
                      2: 
                      3: #ifdef USE_STDIO
                      4: #define                PR      printf(
                      5: #define                EPR     fprintf(stderr,
                      6: #define                SPR     sprintf(
                      7: #define                WR(b,n) fwrite(b, 1, n, stdout)
                      8: #define                FLUSH   fflush(stdout)
                      9: #else
                     10: #include <fio.h>
                     11: extern int fprint(int, char*, ...);
                     12: extern int sprint(char*, char*, ...);
                     13: 
                     14: #define                PR      fprint(1,
                     15: #define                EPR     fprint(2,
                     16: #define                SPR     sprint(
                     17: #define                WR(b,n) write(1, b, (long)(n))
                     18: #define                FLUSH   Fflush(1)
                     19: #endif
                     20: 
                     21: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.