glob.cpp 464 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2021, the SerenityOS developers.
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include <AK/Format.h>
  7. #include <assert.h>
  8. #include <glob.h>
  9. extern "C" {
  10. // https://pubs.opengroup.org/onlinepubs/9699919799/functions/glob.html
  11. int glob(char const*, int, int (*)(char const* epath, int eerrno), glob_t*)
  12. {
  13. dbgln("FIXME: Implement glob()");
  14. TODO();
  15. }
  16. void globfree(glob_t*)
  17. {
  18. dbgln("FIXME: Implement globfree()");
  19. TODO();
  20. }
  21. }