source: azure_iot_hub/trunk/musl-1.1.18/src/internal/shgetc.h@ 388

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

Azure IoT Hub Device C SDK を使ったサンプルの追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-chdr
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.