.\" -*- coding: UTF-8 -*- .\" Written by Ralf Baechle (ralf@waldorf-gmbh.de), .\" Copyright (c) 1994, 1995 Waldorf GMBH .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) .\" This is free documentation; you can redistribute it and/or .\" modify it under the terms of the GNU General Public License as .\" published by the Free Software Foundation; either version 2 of .\" the License, or (at your option) any later version. .\" .\" The GNU General Public License's references to "object code" .\" and "executables" are to be interpreted as the output of any .\" document formatting or typesetting system, including .\" intermediate and printed output. .\" .\" This manual is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public .\" License along with this manual; if not, see .\" . .\" %%%LICENSE_END .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH CACHEFLUSH 2 "15 września 2017 r." Linux "Podręcznik programisty Linuksa" .SH NAZWA cacheflush \- wypróżnienie zawartości bufora podręcznego z instrukcjami i/lub z danymi .SH SKŁADNIA .nf \fB#include \fP .PP \fBint cacheflush(char *\fP\fIaddr\fP\fB, int \fP\fInbytes\fP\fB, int \fP\fIcache\fP\fB);\fP .fi .SH OPIS \fBcacheflush\fP wypróżnia zawartość wskazanego(\-ych) bufora(\-ów) podręcznego(\-ych) dla adresów przestrzeni użytkownika w zakresie od addr do (addr+nbytes\-1). Parametr \fIcache\fP może być jednym z: .TP \fBICACHE\fP Wypróżnia bufor z instrukcjami. .TP \fBDCACHE\fP Zapisuje z powrotem do pamięci i unieważnia dotknięte tym prawidłowe linie buforowe. .TP \fBBCACHE\fP Identyczne z \fB(ICACHE|DCACHE)\fP. .SH "WARTOŚĆ ZWRACANA" \fBcacheflush\fP() zwraca 0 po pomyślnym zakończeniu, a \-1 w wypadku błędu. Jeśli wystąpi błąd, \fIerrno\fP będzie wskazywać jego rodzaj. .SH BŁĘDY .TP \fBEFAULT\fP Część lub cała przestrzeń od \fIaddr\fP do \fI(addr+nbytes\-1)\fP jest niedostępna. .TP \fBEINVAL\fP \fIcache\fP is not one of \fBICACHE\fP, \fBDCACHE\fP, or \fBBCACHE\fP (but see BUGS). .SH "ZGODNE Z" 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 \fBcacheflush\fP() 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 \fBcacheflush\fP() system call on some other architectures, but with different arguments. .SH BŁĘDY Linux kernels older than version 2.6.11 ignore the \fIaddr\fP and \fInbytes\fP arguments, making this function fairly expensive. Therefore, the whole cache is always flushed. .PP This function always behaves as if \fBBCACHE\fP has been passed for the \fIcache\fP argument and does not do any error checking on the \fIcache\fP argument. .SH "O STRONIE" Angielska wersja tej strony pochodzi z wydania 5.04 projektu Linux \fIman\-pages\fP. Opis projektu, informacje dotyczące zgłaszania błędów oraz najnowszą wersję oryginału można znaleźć pod adresem \%https://www.kernel.org/doc/man\-pages/. .SH TŁUMACZENIE Autorami polskiego tłumaczenia niniejszej strony podręcznika są: Przemek Borys i Andrzej Krzysztofowicz . Niniejsze tłumaczenie jest wolną dokumentacją. Bliższe informacje o warunkach licencji można uzyskać zapoznając się z .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License w wersji 3 .UE lub nowszej. Nie przyjmuje się ŻADNEJ ODPOWIEDZIALNOŚCI. Błędy w tłumaczeniu strony podręcznika prosimy zgłaszać na adres .MT manpages-pl-list@lists.sourceforge.net .ME .