mirror of https://github.com/mkerrisk/man-pages
delete_module.2: Use syscall(SYS_...); for system calls without a wrapper
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
843c01931c
commit
4695076306
|
@ -28,12 +28,11 @@ delete_module \- unload a kernel module
|
|||
.SH SYNOPSIS
|
||||
.nf
|
||||
.BR "#include <fcntl.h>" " /* Definition of " O_* " constants */"
|
||||
.BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
|
||||
.BR "#include <unistd.h>
|
||||
.PP
|
||||
.BI "int delete_module(const char *" name ", unsigned int " flags );
|
||||
.BI "int syscall(SYS_delete_module, const char *" name ", unsigned int " flags );
|
||||
.fi
|
||||
.PP
|
||||
.IR Note :
|
||||
There is no glibc wrapper for this system call; see NOTES.
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
.BR delete_module ()
|
||||
|
|
Loading…
Reference in New Issue