source: asp3_tinet_ecnl_arm/trunk/musl-1.1.18/src/internal/shgetc.h@ 352

Last change on this file since 352 was 352, checked in by coas-nagasima, 6 years ago

arm向けASP3版ECNLを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr;charset=UTF-8
File size: 311 bytes
Line 
1#include "stdio_impl.h"
2
3void __shlim(FILE *, off_t);
4int __shgetc(FILE *);
5
6#define shcnt(f) ((f)->shcnt + ((f)->rpos - (f)->rend))
7#define shlim(f, lim) __shlim((f), (lim))
8#define shgetc(f) (((f)->rpos < (f)->shend) ? *(f)->rpos++ : __shgetc(f))
9#define shunget(f) ((f)->shend ? (void)(f)->rpos-- : (void)0)
Note: See TracBrowser for help on using the repository browser.