priority.cpp 467 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2021, the SerenityOS developers.
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include <AK/Format.h>
  7. #include <sys/resource.h>
  8. extern "C" {
  9. int getpriority([[maybe_unused]] int which, [[maybe_unused]] id_t who)
  10. {
  11. dbgln("FIXME: Implement getpriority()");
  12. return -1;
  13. }
  14. int setpriority([[maybe_unused]] int which, [[maybe_unused]] id_t who, [[maybe_unused]] int value)
  15. {
  16. dbgln("FIXME: Implement setpriority()");
  17. return -1;
  18. }
  19. }