[BACK]Return to string.h CVS log [TXT][DIR] Up to [local] / src / include

Diff for /src/include/string.h between version 1.29 and 1.30

version 1.29, 2014/08/10 02:49:24 version 1.30, 2015/11/20 23:40:32
Line 38 
Line 38 
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
 #include <machine/_types.h>  #include <machine/_types.h>
   
   /*
    * POSIX mandates that certain string functions not present in ISO C
    * be prototyped in strings.h.  Historically, we've included them here.
    */
   #if __BSD_VISIBLE
   #include <strings.h>
   #endif
   
 #ifndef _SIZE_T_DEFINED_  #ifndef _SIZE_T_DEFINED_
 #define _SIZE_T_DEFINED_  #define _SIZE_T_DEFINED_
 typedef __size_t        size_t;  typedef __size_t        size_t;
Line 89 
Line 97 
 #if __XPG_VISIBLE  #if __XPG_VISIBLE
 void    *memccpy(void *__restrict, const void *__restrict, int, size_t)  void    *memccpy(void *__restrict, const void *__restrict, int, size_t)
                 __attribute__ ((__bounded__(__buffer__,1,4)));                  __attribute__ ((__bounded__(__buffer__,1,4)));
 #endif  
   
 #if __XPG_VISIBLE >= 420  
 int      bcmp(const void *, const void *, size_t);  
 void     bcopy(const void *, void *, size_t)  
                 __attribute__ ((__bounded__(__buffer__,1,3)))  
                 __attribute__ ((__bounded__(__buffer__,2,3)));  
 void     bzero(void *, size_t)  
                 __attribute__ ((__bounded__(__buffer__,1,2)));  
 int      ffs(int);  
 char    *index(const char *, int);  
 char    *rindex(const char *, int);  
 int      strcasecmp(const char *, const char *);  
 int      strncasecmp(const char *, const char *, size_t);  
 #endif  #endif
   
 #if __POSIX_VISIBLE >= 200112  #if __POSIX_VISIBLE >= 200112

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30