.\" -*- coding: UTF-8 -*- .\" Copyright (c) 1995 Paul Gortmaker .\" (gpg109@rsphy1.anu.edu.au) .\" Wed Nov 29 10:58:54 EST 1995 .\" .\" %%%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 OUTB 2 "1 novembre 2020" Linux "Manuel du programmeur Linux" .SH NOM outb, outw, outl, outsb, outsw, outsl, inb, inw, inl, insb, insw, insl, outb_p, outw_p, outl_p, inb_p, inw_p, inl_p \- Lire/Écrire sur un port .SH SYNOPSIS .nf \fB#include \fP .PP \fBunsigned char inb(unsigned short \fP\fIport\fP\fB);\fP \fBunsigned char inb_p(unsigned short \fP\fIport\fP\fB);\fP \fBunsigned short inw(unsigned short \fP\fIport\fP\fB);\fP \fBunsigned short inw_p(unsigned short \fP\fIport\fP\fB);\fP \fBunsigned int inl(unsigned short \fP\fIport\fP\fB);\fP \fBunsigned int inl_p(unsigned short \fP\fIport\fP\fB);\fP .PP \fBvoid outb(unsigned char \fP\fIvalue\fP\fB, unsigned short \fP\fIport\fP\fB);\fP \fBvoid outb_p(unsigned char \fP\fIvalue\fP\fB, unsigned short \fP\fIport\fP\fB);\fP \fBvoid outw(unsigned short \fP\fIvalue\fP\fB, unsigned short \fP\fIport\fP\fB);\fP \fBvoid outw_p(unsigned short \fP\fIvalue\fP\fB, unsigned short \fP\fIport\fP\fB);\fP \fBvoid outl(unsigned int \fP\fIvalue\fP\fB, unsigned short \fP\fIport\fP\fB);\fP \fBvoid outl_p(unsigned int \fP\fIvalue\fP\fB, unsigned short \fP\fIport\fP\fB);\fP .PP \fBvoid insb(unsigned short \fP\fIport\fP\fB, void *\fP\fIaddr\fP\fB,\fP \fB unsigned long \fP\fIcount\fP\fB);\fP \fBvoid insw(unsigned short \fP\fIport\fP\fB, void *\fP\fIaddr\fP\fB,\fP \fB unsigned long \fP\fIcount\fP\fB);\fP \fBvoid insl(unsigned short \fP\fIport\fP\fB, void *\fP\fIaddr\fP\fB,\fP \fB unsigned long \fP\fIcount\fP\fB);\fP \fBvoid outsb(unsigned short \fP\fIport\fP\fB, const void *\fP\fIaddr\fP\fB,\fP \fB unsigned long \fP\fIcount\fP\fB);\fP \fBvoid outsw(unsigned short \fP\fIport\fP\fB, const void *\fP\fIaddr\fP\fB,\fP \fB unsigned long \fP\fIcount\fP\fB);\fP \fBvoid outsl(unsigned short \fP\fIport\fP\fB, const void *\fP\fIaddr\fP\fB,\fP \fB unsigned long \fP\fIcount\fP\fB);\fP .fi .SH DESCRIPTION Cette famille de fonctions est utilisée pour des entrées\-sorties de bas niveau. Les fonctions out* effectuent une écriture sur un port alors que les fonctions in* effectuent une lecture. Les fonctions suffixées avec «\ b\ » travaillent sur des octets alors que les fonctions suffixées avec «\ w\ » travaillent sur des mots. Les fonctions suffixées avec «\ _p\ » attendent que les entrées\-sorties soient achevées. .PP .\" , given the following information .\" in addition to that given in .\" .BR outb (9). Elles ont principalement été conçues pour un usage interne au noyau, mais sont quand même utilisables avec des processus utilisateurs. .PP Le programme doit être compilé avec les options \fB\-O\fP ou \fB\-O2\fP ou équivalent. Ces fonctions sont en réalité des macros développées en ligne, et ne seront pas substituées sans valider l'optimisation. Cela causerait des erreurs de références non résolues au moment de l'édition des liens. .PP Utiliser \fBioperm\fP(2) ou éventuellement \fBiopl\fP(2) pour demander au noyau d'autoriser l'application à accéder aux ports d'entrées\-sorties en question. Une omission de cette étape déclencherait une faute de segmentation. .SH CONFORMITÉ \fBoutb\fP() et les autres fonctions dépendent du matériel. Les arguments \fIport\fP et \fIvaleur\fP sont dans l'ordre inverse de la plupart des implémentations équivalentes sous DOS. .SH "VOIR AUSSI" \fBioperm\fP(2), \fBiopl\fP(2) .SH COLOPHON Cette page fait partie de la publication\ 5.10 du projet \fIman\-pages\fP Linux. Une description du projet et des instructions pour signaler des anomalies et la dernière version de cette page peuvent être trouvées à l'adresse \%https://www.kernel.org/doc/man\-pages/. .PP .SH TRADUCTION La traduction française de cette page de manuel a été créée par Christophe Blaess , Stéphan Rafin , Thierry Vignaud , François Micaux, Alain Portal , Jean-Philippe Guérard , Jean-Luc Coulon (f5ibh) , Julien Cristau , Thomas Huriaux , Nicolas François , Florentin Duneau , Simon Paillard , Denis Barbier , David Prévot et Jean-Philippe MENGUAL . .PP Cette traduction est une documentation libre ; veuillez vous reporter à la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License version 3 .UE concernant les conditions de copie et de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE. .PP Si vous découvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message à .MT debian-l10n-french@lists.debian.org .ME .