argz.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #ifndef _ARGZ_H
  2. #include <string/argz.h>
  3. # ifndef _ISOMAC
  4. extern error_t __argz_create_sep (const char *__restrict __string,
  5. int __sep, char **__restrict __argz,
  6. size_t *__restrict __len)
  7. __THROW attribute_hidden;
  8. extern error_t __argz_append (char **__restrict __argz,
  9. size_t *__restrict __argz_len,
  10. const char *__restrict __buf, size_t __buf_len)
  11. __THROW attribute_hidden;
  12. extern error_t __argz_add (char **__restrict __argz,
  13. size_t *__restrict __argz_len,
  14. const char *__restrict __str)
  15. __THROW attribute_hidden;
  16. extern error_t __argz_add_sep (char **__restrict __argz,
  17. size_t *__restrict __argz_len,
  18. const char *__restrict __string, int __delim)
  19. __THROW attribute_hidden;
  20. extern void __argz_delete (char **__restrict __argz,
  21. size_t *__restrict __argz_len,
  22. char *__restrict __entry)
  23. __THROW attribute_hidden;
  24. extern error_t __argz_insert (char **__restrict __argz,
  25. size_t *__restrict __argz_len,
  26. char *__restrict __before,
  27. const char *__restrict __entry)
  28. __THROW attribute_hidden;
  29. extern error_t __argz_replace (char **__restrict __argz,
  30. size_t *__restrict __argz_len,
  31. const char *__restrict __str,
  32. const char *__restrict __with,
  33. unsigned int *__restrict __replace_count)
  34. attribute_hidden;
  35. libc_hidden_proto (argz_delete)
  36. libc_hidden_proto (__argz_count)
  37. libc_hidden_proto (__argz_stringify)
  38. libc_hidden_proto (argz_next)
  39. libc_hidden_proto (__argz_next)
  40. # endif /* !_ISOMAC */
  41. #endif