blob: 210f6468581bf21afecbbb1b3f4d2fa4e8794f30 (
plain) (
tree)
|
|
#include "stdio_impl.h"
hidden void __shlim(FILE *, off_t);
hidden int __shgetc(FILE *);
#define shcnt(f) ((f)->shcnt + ((f)->rpos - (f)->rend))
#define shlim(f, lim) __shlim((f), (lim))
#define shgetc(f) (((f)->rpos < (f)->shend) ? *(f)->rpos++ : __shgetc(f))
#define shunget(f) ((f)->shend ? (void)(f)->rpos-- : (void)0)
|