Subversion Repositories Kolibri OS

Rev

Rev 4874 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. /*
  2.  * strings.h
  3.  *
  4.  * Definitions for string operations.
  5.  */
  6.  
  7. #ifndef _STRINGS_H_
  8. #define _STRINGS_H_
  9.  
  10. #include "_ansi.h"
  11. #include <sys/reent.h>
  12. #include <sys/cdefs.h>
  13. #include <sys/types.h> /* for size_t */
  14.  
  15. _BEGIN_STD_C
  16.  
  17. #if __BSD_VISIBLE || (__POSIX_VISIBLE && __POSIX_VISIBLE < 200809)
  18. /*
  19.  * Marked LEGACY in Open Group Base Specifications Issue 6/IEEE Std 1003.1-2004
  20.  * Removed from Open Group Base Specifications Issue 7/IEEE Std 1003.1-2008
  21.  */
  22. int      _EXFUN(bcmp,(const void *, const void *, size_t));
  23. void     _EXFUN(bcopy,(const void *, void *, size_t));
  24. void     _EXFUN(bzero,(void *, size_t));
  25. char    *_EXFUN(index,(const char *, int));
  26. char    *_EXFUN(rindex,(const char *, int));
  27. #endif /* __BSD_VISIBLE || (__POSIX_VISIBLE && __POSIX_VISIBLE < 200809) */
  28.  
  29. int      _EXFUN(ffs,(int));
  30. int      _EXFUN(strcasecmp,(const char *, const char *));
  31. int      _EXFUN(strncasecmp,(const char *, const char *, size_t));
  32.  
  33. _END_STD_C
  34.  
  35. #endif /* _STRINGS_H_ */
  36.