Home
last modified time | relevance | path

Searched refs:__SERR (Results 1 – 25 of 26) sorted by relevance

12

/picolibc-latest/newlib/libc/tinystdio/
Dfgetc.c41 stream->flags |= __SERR; in fgetc()
51 stream->flags |= (rv == _FDEV_ERR)? __SERR: __SEOF; in fgetc()
Dferror.c40 return stream->flags & __SERR; in ferror()
Dclearerr.c40 stream->flags &= ~(__SERR | __SEOF); in clearerr()
Dfread.c95 … stream->flags |= (ret == _FDEV_ERR)? __SERR: __SEOF; in fread()
106 stream->flags |= (len < 0) ? __SERR : __SEOF; in fread()
Dfputs.c47 stream->flags |= __SERR; in fputs()
Dputs.c54 out->flags |= __SERR; in puts()
Dfputc.c41 stream->flags |= __SERR; in fputc()
Dfreopen.c63 stream->flags = (stream->flags & ~(__SRD|__SWR|__SERR|__SEOF)) | stdio_flags; in freopen()
Dstdio.h87 #define __SERR 0x0004 /* found error */ macro
262 #define clearerr(s) ((s)->flags &= ~(__SERR | __SEOF))
272 #define ferror(s) ((s)->flags & __SERR)
Dvfscanf.c829 if (stream->flags & (__SERR | __SEOF)) in vfscanf()
Dvfprintf.c1319 stream->flags |= __SERR; in vfprintf()
/picolibc-latest/newlib/libc/stdio/
Dwsetup.c49 fp->_flags |= __SERR; in _swsetup()
89 fp->_flags |= __SERR; in _swsetup()
Dfflush.c164 fp->_flags |= __SERR; in _sflush()
201 fp->_flags |= __SERR; in _sflush()
227 fp->_flags |= __SERR; in _sflush()
Drefill.c58 fp->_flags |= __SERR; in _srefill()
121 fp->_flags |= __SERR; in _srefill()
Dungetwc.c89 fp->_flags |= __SERR; in ungetwc()
Dfputwc.c151 fp->_flags |= __SERR; in __fputwc()
Dfgetwc.c167 fp->_flags |= __SERR; in __fgetwc()
Dssputs.c66 fp->_flags |= __SERR; in __ssputs()
Dvfwprintf.c194 if (fake._flags & __SERR) in __sbwprintf()
195 fp->_flags |= __SERR; in __sbwprintf()
885 fp->_flags |= __SERR; in VFWPRINTF()
1006 fp->_flags |= __SERR; in VFWPRINTF()
1033 fp->_flags |= __SERR; in VFWPRINTF()
1189 fp->_flags |= __SERR; in VFWPRINTF()
1197 fp->_flags |= __SERR; in VFWPRINTF()
1214 fp->_flags |= __SERR; in VFWPRINTF()
1233 fp->_flags |= __SERR; in VFWPRINTF()
Dvfprintf.c227 if (fake._flags & __SERR) in __sbprintf()
228 fp->_flags |= __SERR; in __sbprintf()
924 fp->_flags |= __SERR; in VFPRINTF()
1046 fp->_flags |= __SERR; in VFPRINTF()
1218 fp->_flags |= __SERR; in VFPRINTF()
1232 fp->_flags |= __SERR; in VFPRINTF()
1245 fp->_flags |= __SERR; in VFPRINTF()
1256 fp->_flags |= __SERR; in VFPRINTF()
Dnano-vfprintf.c234 fp->_flags |= __SERR; in _ssputs()
334 fp->_flags |= __SERR; in _ssprint()
Dstdio.h240 #define __SERR 0x0040 /* found error */ macro
726 #define __sferror(p) ((int)(((p)->_flags & __SERR) != 0))
727 #define __sclearerr(p) ((void)((p)->_flags &= ~(__SERR|__SEOF)))
Dfvwrite.c288 fp->_flags |= __SERR; in _sfvwrite()
Dnano-vfscanf.c417 return scan_data.nassigned && !(fp->_flags & __SERR) ? scan_data.nassigned in _SVFSCANF()
Dvfwscanf.c1603 nassigned = nassigned && !(fp->_flags & __SERR) ? nassigned : EOF; in _SVFWSCANF()

12