wordexp.h 464 B

12345678910111213141516171819202122232425262728293031
  1. /* SPDX-License-Identifier: LGPL-2.1-or-later */
  2. /*
  3. *
  4. * BlueZ - Bluetooth protocol stack for Linux
  5. *
  6. * Copyright (C) 1991-2013 Free Software Foundation, Inc.
  7. *
  8. *
  9. */
  10. #ifndef _WORDEXP_H_
  11. #define _WORDEXP_H_
  12. #define WRDE_NOCMD 0
  13. typedef struct {
  14. size_t we_wordc;
  15. char **we_wordv;
  16. size_t we_offs;
  17. } wordexp_t;
  18. static inline int wordexp(const char *c, wordexp_t *w, int _i)
  19. {
  20. return -1;
  21. }
  22. static inline void wordfree(wordexp_t *__wordexp)
  23. {
  24. }
  25. #endif