query_module.c 551 B

12345678910111213141516
  1. /* vi: set sw=4 ts=4: */
  2. /*
  3. * query_module() for uClibc
  4. *
  5. * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  6. *
  7. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  8. */
  9. #include <sys/syscall.h>
  10. int query_module(const char *name attribute_unused, int which attribute_unused,
  11. void *buf attribute_unused, size_t bufsize attribute_unused, size_t * ret attribute_unused);
  12. #ifdef __NR_query_module
  13. _syscall5(int, query_module, const char *, name, int, which,
  14. void *, buf, size_t, bufsize, size_t *, ret)
  15. #endif