aboutsummaryrefslogtreecommitdiffstats
path: root/man2/delete_module.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/delete_module.2')
-rw-r--r--man2/delete_module.211
1 files changed, 9 insertions, 2 deletions
diff --git a/man2/delete_module.2 b/man2/delete_module.2
index 12f738907b..3084a483f1 100644
--- a/man2/delete_module.2
+++ b/man2/delete_module.2
@@ -31,7 +31,7 @@ delete_module \- unload a kernel module
.fi
.IR Note :
-There is no glibc wrapper for this system call; see NOTES.
+No declaration of this function is provided in glibc headers; see NOTES.
.SH DESCRIPTION
The
.BR delete_module ()
@@ -173,7 +173,14 @@ was not specified in
.BR delete_module ()
is Linux-specific.
.SH NOTES
-Glibc does not provide a wrapper for this system call; call it using
+The
+.BR delete_module ()
+system call is not suported by glibc.
+No declaration is provided in glibc headers, but,
+through a quirk of history, glibc does export an ABI for this system call.
+Therefore, in order to employ this system call,
+it is sufficient to manually declare the interface in your code;
+alternatively, you can invoke the system call using
.BR syscall (2).
The uninterruptible sleep that may occur if