cacheflush.2
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 2 代码 · 共 54 行
2
54 行
.TH cacheflush 2 RISC.UC 4.SH Namecacheflush \- flush the instruction cache, data cache, or both.SH Syntax.ft B.nf#include <mips/cachectl.h>.spcacheflush(addr, nbytes, cache)char *addr;int nbytes, cache;.fi.ft R.SH DescriptionFlushes contents of indicated caches foruser addresses in the range of.I addrto.RI ( addr + nbytes \-1).The.I cacheparameter is one of the following:.TP 15ICACHEFlush only the instruction cache..TP 15DCACHEFlush only the data cache..TP 15BCACHEFlush both the instruction and data caches..SH Return ValuesThe .PN cacheflushsystem call returns 0 when errors are not detected. If errors are detected,the .PN cacheflushsystem call returns \-1 with the error cause indicated in.IR errno..SH Diagnostics.TP 15[EFAULT]Some or all of the address range in the.I addrto.RI ( addr + nbytes \-1)are not accessible..TP 15[EINVAL]The .I cacheparameter is not ICACHE, DCACHE, or BCACHE.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?