aboutsummaryrefslogtreecommitdiffstats
path: root/man2/cacheflush.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/cacheflush.2')
-rw-r--r--man2/cacheflush.215
1 files changed, 7 insertions, 8 deletions
diff --git a/man2/cacheflush.2 b/man2/cacheflush.2
index 6d44e8d6a8..aa2ea6e454 100644
--- a/man2/cacheflush.2
+++ b/man2/cacheflush.2
@@ -61,20 +61,13 @@ is not one of
or
.B BCACHE
(but see BUGS).
-.SH STANDARDS
-Historically, this system call was available on all MIPS UNIX variants
-including RISC/os, IRIX, Ultrix, NetBSD, OpenBSD, and FreeBSD
-(and also on some non-UNIX MIPS operating systems), so that
-the existence of this call in MIPS operating systems is a de-facto
-standard.
-.SS Caveat
+.SH VERSIONS
.BR cacheflush ()
should not be used in programs intended to be portable.
On Linux, this call first appeared on the MIPS architecture,
but nowadays, Linux provides a
.BR cacheflush ()
system call on some other architectures, but with different arguments.
-.SH NOTES
.SS Architecture-specific variants
glibc provides a wrapper for this system call,
with the prototype shown in SYNOPSIS,
@@ -127,6 +120,12 @@ the prototype for this built-in function uses
instead of
.I void *
for the parameters.
+.SH STANDARDS
+Historically, this system call was available on all MIPS UNIX variants
+including RISC/os, IRIX, Ultrix, NetBSD, OpenBSD, and FreeBSD
+(and also on some non-UNIX MIPS operating systems), so that
+the existence of this call in MIPS operating systems is a de-facto
+standard.
.SH BUGS
Linux kernels older than Linux 2.6.11 ignore the
.I addr