[BACK]Return to stdio.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / include

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/include/stdio.h between version 1.69 and 1.72

version 1.69, 2007/05/30 21:14:37 version 1.72, 2008/08/04 17:08:49
Line 360  __END_DECLS
Line 360  __END_DECLS
 #endif /* _XOPEN_SOURCE >= 500 || _LARGEFILE_SOURCE || _NETBSD_SOURCE */  #endif /* _XOPEN_SOURCE >= 500 || _LARGEFILE_SOURCE || _NETBSD_SOURCE */
   
 /*  /*
    * Functions defined in ISO C99.  Still put under _NETBSD_SOURCE due to
    * backward compatible.
    */
   #if defined(_ISOC99_SOURCE) || defined(_NETBSD_SOURCE)
   __BEGIN_DECLS
   int      vscanf(const char * __restrict, _BSD_VA_LIST_)
               __attribute__((__format__(__scanf__, 1, 0)));
   int      vfscanf(FILE * __restrict, const char * __restrict, _BSD_VA_LIST_)
               __attribute__((__format__(__scanf__, 2, 0)));
   int      vsscanf(const char * __restrict, const char * __restrict,
               _BSD_VA_LIST_)
               __attribute__((__format__(__scanf__, 2, 0)));
   __END_DECLS
   #endif /* _ISOC99_SOURCE || _NETBSD_SOURCE */
   
   /*
  * Routines that are purely local.   * Routines that are purely local.
  */   */
 #if defined(_NETBSD_SOURCE)  #if defined(_NETBSD_SOURCE)
Line 381  int  setlinebuf(FILE *);
Line 397  int  setlinebuf(FILE *);
 int      vasprintf(char ** __restrict, const char * __restrict,  int      vasprintf(char ** __restrict, const char * __restrict,
             _BSD_VA_LIST_)              _BSD_VA_LIST_)
             __attribute__((__format__(__printf__, 2, 0)));              __attribute__((__format__(__printf__, 2, 0)));
 int      vscanf(const char * __restrict, _BSD_VA_LIST_)  
             __attribute__((__format__(__scanf__, 1, 0)));  
 int      vfscanf(FILE * __restrict, const char * __restrict,  
             _BSD_VA_LIST_)  
             __attribute__((__format__(__scanf__, 2, 0)));  
 int      vsscanf(const char * __restrict, const char * __restrict,  
             _BSD_VA_LIST_)  
             __attribute__((__format__(__scanf__, 2, 0)));  
 const char *fmtcheck(const char *, const char *)  const char *fmtcheck(const char *, const char *)
             __attribute__((__format_arg__(2)));              __attribute__((__format_arg__(2)));
 __END_DECLS  __END_DECLS
Line 444  static __inline int __sputc(int _c, FILE
Line 452  static __inline int __sputc(int _c, FILE
 #define __sfeof(p)      (((p)->_flags & __SEOF) != 0)  #define __sfeof(p)      (((p)->_flags & __SEOF) != 0)
 #define __sferror(p)    (((p)->_flags & __SERR) != 0)  #define __sferror(p)    (((p)->_flags & __SERR) != 0)
 #define __sclearerr(p)  ((void)((p)->_flags &= ~(__SERR|__SEOF)))  #define __sclearerr(p)  ((void)((p)->_flags &= ~(__SERR|__SEOF)))
 #define __sfileno(p)    ((p)->_file)  #define __sfileno(p)    \
       ((p)->_file == -1 ? -1 : (int)(unsigned short)(p)->_file)
   
 #ifndef __lint__  #ifndef __lint__
 #if !defined(_REENTRANT) && !defined(_PTHREADS)  #if !defined(_REENTRANT) && !defined(_PTHREADS)
Line 476  static __inline int __sputc(int _c, FILE
Line 485  static __inline int __sputc(int _c, FILE
 #define putchar_unlocked(x)     putc_unlocked(x, stdout)  #define putchar_unlocked(x)     putc_unlocked(x, stdout)
 #endif /* _POSIX_C_SOURCE >= 199506 || _XOPEN_SOURCE >= 500 || _REENTRANT... */  #endif /* _POSIX_C_SOURCE >= 199506 || _XOPEN_SOURCE >= 500 || _REENTRANT... */
   
   #if _FORTIFY_SOURCE > 0
 #include <ssp/stdio.h>  #include <ssp/stdio.h>
   #endif
   
 #endif /* _STDIO_H_ */  #endif /* _STDIO_H_ */

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.72

CVSweb <webmaster@jp.NetBSD.org>