[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.58 and 1.58.2.3

version 1.58, 2005/02/09 21:35:46 version 1.58.2.3, 2005/05/28 13:51:31
Line 37 
Line 37 
 #ifndef _STDIO_H_  #ifndef _STDIO_H_
 #define _STDIO_H_  #define _STDIO_H_
   
 #include <sys/ansi.h>  
   
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
 #include <sys/featuretest.h>  #include <sys/featuretest.h>
   #include <sys/ansi.h>
   
 #include <machine/ansi.h>  #include <machine/ansi.h>
 #ifdef  _BSD_SIZE_T_  #ifdef  _BSD_SIZE_T_
Line 221  int  fflush(FILE *);
Line 220  int  fflush(FILE *);
 int      fgetc(FILE *);  int      fgetc(FILE *);
 int      fgetpos(FILE * __restrict, fpos_t * __restrict);  int      fgetpos(FILE * __restrict, fpos_t * __restrict);
 char    *fgets(char * __restrict, int, FILE * __restrict);  char    *fgets(char * __restrict, int, FILE * __restrict);
 FILE    *fopen(const char *, const char *);  FILE    *fopen(const char * __restrict , const char * __restrict);
 int      fprintf(FILE * __restrict , const char * __restrict, ...);  int      fprintf(FILE * __restrict , const char * __restrict, ...);
 int      fputc(int, FILE *);  int      fputc(int, FILE *);
 int      fputs(const char * __restrict, FILE * __restrict);  int      fputs(const char * __restrict, FILE * __restrict);
 size_t   fread(void * __restrict, size_t, size_t, FILE * __restrict);  size_t   fread(void * __restrict, size_t, size_t, FILE * __restrict);
 FILE    *freopen(const char *, const char *, FILE * __restrict);  FILE    *freopen(const char * __restrict, const char * __restrict,
               FILE * __restrict);
 int      fscanf(FILE * __restrict, const char * __restrict, ...);  int      fscanf(FILE * __restrict, const char * __restrict, ...);
 int      fseek(FILE *, long, int);  int      fseek(FILE *, long, int);
 int      fsetpos(FILE *, const fpos_t *);  int      fsetpos(FILE *, const fpos_t *);
Line 313  __END_DECLS
Line 313  __END_DECLS
 #endif  #endif
   
 /*  /*
  * Functions defined in XPG4.2.   * Functions defined in ISO XPG4.2, ISO C99, POSIX 1003.1-2001 or later.
  */   */
 #if defined(_XOPEN_SOURCE) || defined(_NETBSD_SOURCE)  #if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) && \
 __BEGIN_DECLS      !defined(_XOPEN_SOURCE) || \
 int      getw(FILE *);      ((__STDC_VERSION__ - 0) >= 199901L) || \
 int      putw(int, FILE *);      ((_POSIX_C_SOURCE - 0) >= 200112L) || \
       (defined(_XOPEN_SOURCE) && defined(_XOPEN_SOURCE_EXTENDED)) || \
       ((_XOPEN_SOURCE - 0) >= 500) || \
       defined(_ISOC99_SOURCE) || defined(_NETBSD_SOURCE)
 int      snprintf(char * __restrict, size_t, const char * __restrict, ...)  int      snprintf(char * __restrict, size_t, const char * __restrict, ...)
             __attribute__((__format__(__printf__, 3, 4)));              __attribute__((__format__(__printf__, 3, 4)));
 int      vsnprintf(char * __restrict, size_t, const char * __restrict,  int      vsnprintf(char * __restrict, size_t, const char * __restrict,
             _BSD_VA_LIST_)              _BSD_VA_LIST_)
             __attribute__((__format__(__printf__, 3, 0)));              __attribute__((__format__(__printf__, 3, 0)));
   #endif
   
   /*
    * Functions defined in XPG4.2.
    */
   #if defined(_XOPEN_SOURCE) || defined(_NETBSD_SOURCE)
   __BEGIN_DECLS
   int      getw(FILE *);
   int      putw(int, FILE *);
   
 #ifndef __AUDIT__  #ifndef __AUDIT__
 char    *tempnam(const char *, const char *);  char    *tempnam(const char *, const char *);

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.58.2.3

CVSweb <webmaster@jp.NetBSD.org>