about summary refs log tree commit diff
path: root/manual/macros.texi
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2024-07-08 17:52:15 -0400
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-07-09 11:54:29 +0200
commit6c0be74305745c8f78bcfb69442c8c379459d99b (patch)
treefac67d679685e56d7c379911f5803332592d9317 /manual/macros.texi
parent2213b37b705843908355a89648017f4e597b2bbb (diff)
downloadglibc-6c0be74305745c8f78bcfb69442c8c379459d99b.tar.gz
glibc-6c0be74305745c8f78bcfb69442c8c379459d99b.tar.xz
glibc-6c0be74305745c8f78bcfb69442c8c379459d99b.zip
manual: add syscalls
The purpose of this patch is to add some system calls that (1) aren't
otherwise documented, and (2) are merely redirected to the kernel, so
can refer to their documentation; and define a standard way of doing
so in the future.  A more detailed explaination of how system calls
are wrapped is added along with reference to the Linux Man-Pages
project.

Default version of man-pages is in configure.ac but can be overridden
by --with-man-pages=X.Y

Reviewed-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'manual/macros.texi')
-rw-r--r--manual/macros.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/manual/macros.texi b/manual/macros.texi
index 4a2e22f473..579da3fb81 100644
--- a/manual/macros.texi
+++ b/manual/macros.texi
@@ -282,4 +282,11 @@ cwd\comments\
 @macro standardsx {element, standard, header}
 @end macro
 
+@macro manpagefunctionstub {func,sec}
+This documentation is a stub.  For additional information on this
+function, consult the manual page
+@url{https://man7.org/linux/man-pages/man\sec\/\func\.\sec\.html}.
+@xref{Linux Kernel}.
+@end macro
+
 @end ifclear