source: azure_iot_hub/trunk/musl-1.1.18/src/stdio/ext2.c@ 389

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

ビルドが通るよう更新

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc;charset=UTF-8
File size: 351 bytes
Line 
1#include "stdio_impl.h"
2
3size_t __freadahead(FILE *f)
4{
5 return f->rend - f->rpos;
6}
7
8const char *__freadptr(FILE *f, size_t *sizep)
9{
10 size_t size = f->rend - f->rpos;
11 if (!size) return 0;
12 *sizep = size;
13 return (const char *)f->rpos;
14}
15
16void __freadptrinc(FILE *f, size_t inc)
17{
18 f->rpos += inc;
19}
20
21void __fseterr(FILE *f)
22{
23 f->flags |= F_ERR;
24}
Note: See TracBrowser for help on using the repository browser.