ultrix man page for cacheflush

Query: cacheflush

OS: ultrix

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

cacheflush(2)							System Calls Manual						     cacheflush(2)

Name
       cacheflush - flush the instruction cache, data cache, or both

Syntax
       #include <mips/cachectl.h>

       cacheflush(addr, nbytes, cache)
       char *addr;
       int nbytes, cache;

Description
       Flushes contents of indicated caches for user addresses in the range of addr to (addr+nbytes-1).  The cache parameter is one of the follow-
       ing:

       ICACHE	      Flush only the instruction cache.

       DCACHE	      Flush only the data cache.

       BCACHE	      Flush both the instruction and data caches.

Return Values
       The system call returns 0 when errors are not detected.	If errors are detected, the system call returns -1 with the error cause  indicated
       in errno.

Diagnostics
       [EFAULT]       Some or all of the address range in the addr to (addr+nbytes-1) are not accessible.

       [EINVAL]       The cache parameter is not ICACHE, DCACHE, or BCACHE.

4th Berkeley Distribution					       RISC							     cacheflush(2)
Related Man Pages
cacheflush(2) - suse
cacheflush(2) - mojave
cacheflush(2) - x11r4
cacheflush(2) - posix
cacheflush(2) - hpux
Similar Topics in the Unix Linux Community
While with three conditions
Help with ZFS arc cache
ZFS Filesystem