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