⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stdio.h

📁 KPIT GNU Tools is a set of GNU development tools for Renesas microcontrollers.
💻 H
📖 第 1 页 / 共 2 页
字号:
int	_EXFUN(vdprintf, (int, const char *, __VALIST));int	_EXFUN(vsniprintf, (char *, size_t, const char *, __VALIST));int	_EXFUN(vsnprintf, (char *, size_t, const char *, __VALIST));int	_EXFUN(vfiprintf, (FILE *, const char *, __VALIST));int	_EXFUN(vfiscanf, (FILE *, const char *, __VALIST));int	_EXFUN(vfscanf, (FILE *, const char *, __VALIST));int	_EXFUN(viprintf, (const char *, __VALIST));int	_EXFUN(viscanf, (const char *, __VALIST));int	_EXFUN(vscanf, (const char *, __VALIST));int	_EXFUN(vsiscanf, (const char *, const char *, __VALIST));int	_EXFUN(vsscanf, (const char *, const char *, __VALIST));#endif#endif/* * Routines in POSIX 1003.1. */#ifndef __STRICT_ANSI__#ifndef _REENT_ONLYFILE *	_EXFUN(fdopen, (int, const char *));#endifint	_EXFUN(fileno, (FILE *));int	_EXFUN(getw, (FILE *));int	_EXFUN(pclose, (FILE *));FILE *  _EXFUN(popen, (const char *, const char *));int	_EXFUN(putw, (int, FILE *));void    _EXFUN(setbuffer, (FILE *, char *, int));int	_EXFUN(setlinebuf, (FILE *));int	_EXFUN(getc_unlocked, (FILE *));int	_EXFUN(getchar_unlocked, (void));void	_EXFUN(flockfile, (FILE *));int	_EXFUN(ftrylockfile, (FILE *));void	_EXFUN(funlockfile, (FILE *));int	_EXFUN(putc_unlocked, (int, FILE *));int	_EXFUN(putchar_unlocked, (int));#endif/* * Recursive versions of the above. */int	_EXFUN(_asiprintf_r, (struct _reent *, char **, const char *, ...));int	_EXFUN(_asprintf_r, (struct _reent *, char **, const char *, ...));int	_EXFUN(_dprintf_r, (struct _reent *, int, const char *, ...));int	_EXFUN(_fcloseall_r, (struct _reent *));FILE *	_EXFUN(_fdopen_r, (struct _reent *, int, const char *));FILE *	_EXFUN(_fopen_r, (struct _reent *, const char *, const char *));int	_EXFUN(_fclose_r, (struct _reent *, FILE *));char *  _EXFUN(_fgets_r, (struct _reent *, char *, int, FILE *));int	_EXFUN(_fiscanf_r, (struct _reent *, FILE *, const char *, ...));int	_EXFUN(_fputc_r, (struct _reent *, int, FILE *));int	_EXFUN(_fputs_r, (struct _reent *, const char *, FILE *));size_t	_EXFUN(_fread_r, (struct _reent *, _PTR, size_t _size, size_t _n, FILE *));int	_EXFUN(_fscanf_r, (struct _reent *, FILE *, const char *, ...));int	_EXFUN(_fseek_r, (struct _reent *, FILE *, long, int));long	_EXFUN(_ftell_r, (struct _reent *, FILE *));size_t	_EXFUN(_fwrite_r, (struct _reent *, const _PTR , size_t _size, size_t _n, FILE *));int	_EXFUN(_getc_r, (struct _reent *, FILE *));int	_EXFUN(_getc_unlocked_r, (struct _reent *, FILE *));int	_EXFUN(_getchar_r, (struct _reent *));int	_EXFUN(_getchar_unlocked_r, (struct _reent *));char *	_EXFUN(_gets_r, (struct _reent *, char *));int	_EXFUN(_iprintf_r, (struct _reent *, const char *, ...));int	_EXFUN(_iscanf_r, (struct _reent *, const char *, ...));int	_EXFUN(_mkstemp_r, (struct _reent *, char *));char *	_EXFUN(_mktemp_r, (struct _reent *, char *));void	_EXFUN(_perror_r, (struct _reent *, const char *));int	_EXFUN(_printf_r, (struct _reent *, const char *, ...));int	_EXFUN(_putc_r, (struct _reent *, int, FILE *));int	_EXFUN(_putc_unlocked_r, (struct _reent *, int, FILE *));int	_EXFUN(_putchar_unlocked_r, (struct _reent *, int));int	_EXFUN(_putchar_r, (struct _reent *, int));int	_EXFUN(_puts_r, (struct _reent *, const char *));int	_EXFUN(_remove_r, (struct _reent *, const char *));int	_EXFUN(_rename_r, (struct _reent *,			   const char *_old, const char *_new));int	_EXFUN(_scanf_r, (struct _reent *, const char *, ...));int	_EXFUN(_siprintf_r, (struct _reent *, char *, const char *, ...));int	_EXFUN(_siscanf_r, (struct _reent *, const char *, const char *, ...));int	_EXFUN(_sniprintf_r, (struct _reent *, char *, size_t, const char *, ...));int	_EXFUN(_snprintf_r, (struct _reent *, char *, size_t, const char *, ...));int	_EXFUN(_sprintf_r, (struct _reent *, char *, const char *, ...));int	_EXFUN(_sscanf_r, (struct _reent *, const char *, const char *, ...));char *	_EXFUN(_tempnam_r, (struct _reent *, const char *, const char *));FILE *	_EXFUN(_tmpfile_r, (struct _reent *));char *	_EXFUN(_tmpnam_r, (struct _reent *, char *));int	_EXFUN(_ungetc_r, (struct _reent *, int, FILE *));int	_EXFUN(_vasiprintf_r, (struct _reent *, char **, const char *, __VALIST));int	_EXFUN(_vasprintf_r, (struct _reent *, char **, const char *, __VALIST));int	_EXFUN(_vdprintf_r, (struct _reent *, int, const char *, __VALIST));int	_EXFUN(_vfiprintf_r, (struct _reent *, FILE *, const char *, __VALIST));int	_EXFUN(_vfprintf_r, (struct _reent *, FILE *, const char *, __VALIST));int	_EXFUN(_viprintf_r, (struct _reent *, const char *, __VALIST));int	_EXFUN(_vprintf_r, (struct _reent *, const char *, __VALIST));int	_EXFUN(_vsiprintf_r, (struct _reent *, char *, const char *, __VALIST));int	_EXFUN(_vsprintf_r, (struct _reent *, char *, const char *, __VALIST));int	_EXFUN(_vsniprintf_r, (struct _reent *, char *, size_t, const char *, __VALIST));int	_EXFUN(_vsnprintf_r, (struct _reent *, char *, size_t, const char *, __VALIST));int	_EXFUN(_vfiscanf_r, (struct _reent *, FILE *, const char *, __VALIST));int	_EXFUN(_vfscanf_r, (struct _reent *, FILE *, const char *, __VALIST));int	_EXFUN(_viscanf_r, (struct _reent *, const char *, __VALIST));int	_EXFUN(_vscanf_r, (struct _reent *, const char *, __VALIST));int	_EXFUN(_vsscanf_r, (struct _reent *, const char *, const char *, __VALIST));int	_EXFUN(_vsiscanf_r, (struct _reent *, const char *, const char *, __VALIST));ssize_t _EXFUN(__getdelim, (char **, size_t *, int, FILE *));ssize_t _EXFUN(__getline, (char **, size_t *, FILE *));#ifdef __LARGE64_FILES#if !defined(__CYGWIN__) || defined(_COMPILING_NEWLIB)FILE *	_EXFUN(fdopen64, (int, const char *));FILE *  _EXFUN(fopen64, (const char *, const char *));_off64_t _EXFUN(ftello64, (FILE *));_off64_t _EXFUN(fseeko64, (FILE *, _off64_t, int));int     _EXFUN(fgetpos64, (FILE *, _fpos64_t *));int     _EXFUN(fsetpos64, (FILE *, const _fpos64_t *));FILE *  _EXFUN(tmpfile64, (void));FILE *	_EXFUN(_fdopen64_r, (struct _reent *, int, const char *));FILE *  _EXFUN(_fopen64_r, (struct _reent *,const char *, const char *));_off64_t _EXFUN(_ftello64_r, (struct _reent *, FILE *));_off64_t _EXFUN(_fseeko64_r, (struct _reent *, FILE *, _off64_t, int));int     _EXFUN(_fgetpos64_r, (struct _reent *, FILE *, _fpos64_t *));int     _EXFUN(_fsetpos64_r, (struct _reent *, FILE *, const _fpos64_t *));FILE *  _EXFUN(_tmpfile64_r, (struct _reent *));#endif /* !__CYGWIN__ */#endif /* __LARGE64_FILES */ /* * Routines internal to the implementation. */int	_EXFUN(__srget_r, (struct _reent *, FILE *));int	_EXFUN(__swbuf_r, (struct _reent *, int, FILE *));/* * Stdio function-access interface. */#ifndef __STRICT_ANSI__FILE	*_EXFUN(funopen,(const _PTR _cookie,		int (*readfn)(_PTR _cookie, char *_buf, int _n),		int (*writefn)(_PTR _cookie, const char *_buf, int _n),		fpos_t (*seekfn)(_PTR _cookie, fpos_t _off, int _whence),		int (*closefn)(_PTR _cookie)));#define	fropen(cookie, fn) funopen(cookie, fn, (int (*)())0, (fpos_t (*)())0, (int (*)())0)#define	fwopen(cookie, fn) funopen(cookie, (int (*)())0, fn, (fpos_t (*)())0, (int (*)())0)#endif/* * The __sfoo macros are here so that we can  * define function versions in the C library. */#define       __sgetc_raw_r(__ptr, __f) (--(__f)->_r < 0 ? __srget_r(__ptr, __f) : (int)(*(__f)->_p++))#ifdef __SCLEstatic __inline__ int __sgetc_r(struct _reent *__ptr, FILE *__p)  {    int __c = __sgetc_raw_r(__ptr, __p);    if ((__p->_flags & __SCLE) && (__c == '\r'))      {      int __c2 = __sgetc_raw_r(__ptr, __p);      if (__c2 == '\n')        __c = __c2;      else        ungetc(__c2, __p);      }    return __c;  }#else#define __sgetc_r(__ptr, __p) __sgetc_raw_r(__ptr, __p)#endif#ifdef _never /* __GNUC__ *//* If this inline is actually used, then systems using coff debugging   info get hopelessly confused.  21sept93 rich@cygnus.com.  */static __inline int __sputc_r(struct _reent *_ptr, int _c, FILE *_p) {	if (--_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n'))		return (*_p->_p++ = _c);	else		return (__swbuf_r(_ptr, _c, _p));}#else/* * This has been tuned to generate reasonable code on the vax using pcc */#define       __sputc_raw_r(__ptr, __c, __p) \	(--(__p)->_w < 0 ? \		(__p)->_w >= (__p)->_lbfsize ? \			(*(__p)->_p = (__c)), *(__p)->_p != '\n' ? \				(int)*(__p)->_p++ : \				__swbuf_r(__ptr, '\n', __p) : \			__swbuf_r(__ptr, (int)(__c), __p) : \		(*(__p)->_p = (__c), (int)*(__p)->_p++))#ifdef __SCLE#define __sputc_r(__ptr, __c, __p) \        ((((__p)->_flags & __SCLE) && ((__c) == '\n')) \          ? __sputc_raw_r(__ptr, '\r', (__p)) : 0 , \        __sputc_raw_r((__ptr), (__c), (__p)))#else#define __sputc_r(__ptr, __c, __p) __sputc_raw_r(__ptr, __c, __p)#endif#endif#define	__sfeof(p)	(((p)->_flags & __SEOF) != 0)#define	__sferror(p)	(((p)->_flags & __SERR) != 0)#define	__sclearerr(p)	((void)((p)->_flags &= ~(__SERR|__SEOF)))#define	__sfileno(p)	((p)->_file)#ifndef _REENT_SMALL#define	feof(p)		__sfeof(p)#define	ferror(p)	__sferror(p)#define	clearerr(p)	__sclearerr(p)#endif#if 0 /*ndef __STRICT_ANSI__ - FIXME: must initialize stdio first, use fn */#define	fileno(p)	__sfileno(p)#endif#ifndef __CYGWIN__#ifndef lint#define	getc(fp)	__sgetc_r(_REENT, fp)#define putc(x, fp)	__sputc_r(_REENT, x, fp)#endif /* lint */#endif /* __CYGWIN__ */#define	getchar()	getc(stdin)#define	putchar(x)	putc(x, stdout)#ifndef __STRICT_ANSI__/* fast always-buffered version, true iff error */#define	fast_putc(x,p) (--(p)->_w < 0 ? \	__swbuf_r(_REENT, (int)(x), p) == EOF : (*(p)->_p = (x), (p)->_p++, 0))#define	L_cuserid	9		/* posix says it goes in stdio.h :( */#ifdef __CYGWIN__#define L_ctermid       16#endif#endif_END_STD_C#endif /* _STDIO_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -