.\" 2006-02-09, some reformatting by Luc Van Oostenryck; some
.\" reformatting and rewordings by mtk
.\"
-.TH GET_KERNEL_SYMS 2 2016-10-08 "Linux" "Linux Programmer's Manual"
+.TH GET_KERNEL_SYMS 2 2017-09-15 "Linux" "Linux Programmer's Manual"
.SH NAME
get_kernel_syms \- retrieve exported kernel and module symbols
.SH SYNOPSIS
.nf
.B #include <linux/module.h>
-.sp
+.PP
.BI "int get_kernel_syms(struct kernel_sym *" table );
.fi
-
+.PP
.IR Note :
No declaration of this system call is provided in glibc headers; see NOTES.
.SH DESCRIPTION
.BR Note :
This system call is present only in kernels before Linux 2.6.
-
+.PP
If
.I table
is NULL,
Otherwise, it fills in a table of structures:
.PP
.in +4n
-.nf
+.EX
struct kernel_sym {
unsigned long value;
char name[60];
};
-.fi
+.EE
.in
.PP
The symbols are interspersed with magic symbols of the form