ack_string.h 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * (c) copyright 1993 by the Vrije Universiteit, Amsterdam, The Netherlands.
  3. * See the copyright notice in the ACK home directory, in the file "Copyright".
  4. */
  5. /* RCS: $Id: */
  6. #ifndef __ACK_STRING_INCLUDED__
  7. #define __ACK_STRING_INCLUDED__
  8. #include <ansi.h>
  9. _PROTOTYPE(char *strcpy, (char *s1, const char *s2));
  10. _PROTOTYPE(char *strncpy, (char *s1, const char *s2, size_t n));
  11. _PROTOTYPE(char *strcat, (char *s1, const char *s2));
  12. _PROTOTYPE(char *strncat, (char *s1, const char *s2, size_t n));
  13. _PROTOTYPE(int strcmp, (const char *s1, const char *s2));
  14. _PROTOTYPE(int strncmp, (const char *s1, const char *s2, size_t n));
  15. _PROTOTYPE(_SIZET strlen, (const char *s));
  16. _PROTOTYPE(char *strindex, (char *s, int c));
  17. _PROTOTYPE(char *strrindex, (char *s, int c));
  18. _PROTOTYPE(char *strzero, (char *s));
  19. _PROTOTYPE(char *str2bts, (char *s, char *b, int *n));
  20. _PROTOTYPE(char *long2str, (long l, int b));
  21. _PROTOTYPE(long str2long, (char *s, int b));
  22. _PROTOTYPE(char *btscpy, (char *s1, char *s2, int n));
  23. _PROTOTYPE(char *btscat, (char *s1, int n1, char *s2, int n2));
  24. _PROTOTYPE(int btscmp, (char *s1, int n1, char *s2, int n2));
  25. _PROTOTYPE(char *btszero, (char *b, int n));
  26. _PROTOTYPE(char *bts2str, (char *b, int n, char *s));
  27. #endif /* __ACK_STRING_INCLUDED__ */