mirror of https://github.com/mkerrisk/man-pages
query_module.2: Must be called using syscall(2)
Yes, the call is way obsolete, but add this info for completeness. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
b89e39efa9
commit
c77551477b
|
@ -15,6 +15,8 @@ query_module \- query the kernel for various bits pertaining to modules
|
|||
.BI "int query_module(const char *" name ", int " which ", void *" buf ,
|
||||
.BI " size_t " bufsize ", size_t *" ret );
|
||||
.fi
|
||||
.IR Note :
|
||||
There is no glibc wrapper for this system call; see NOTES.
|
||||
.SH DESCRIPTION
|
||||
.BR Note :
|
||||
This system call is present only in kernels before Linux 2.6.
|
||||
|
@ -175,6 +177,10 @@ can be obtained from
|
|||
.IR /proc/kallsyms ,
|
||||
and the files under the directory
|
||||
.IR /sys/module .
|
||||
|
||||
Glibc does not provide a wrapper for this system call;
|
||||
in the unlikely event that you need to use it on an old kernel, use
|
||||
.BR syscall (2).
|
||||
.SH "SEE ALSO"
|
||||
.BR create_module (2),
|
||||
.BR delete_module (2),
|
||||
|
|
Loading…
Reference in New Issue