.\" -*- nroff -*- .\" .\" Copyright (c) 1995 Paul Gortmaker .\" (gpg109@rsphy1.anu.edu.au) .\" Wed Nov 29 10:58:54 EST 1995 .\" .\" 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, write to the Free .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, .\" USA. .\" .\" .TH OUTB 2 "29/11/1995" "Linux" "Manual do Programador Linux " .SH NOME outb, outw, outl, outsb, outsw, outsl \- porta de saída .br inb, inw, inl, insb, insw, insl \- port de entrada .br outb_p, outw_p, outl_p, inb_p, inw_p, inl_p \- intervalo de I/O .sp .SH DESCRIÇÃO Esta família de funções é usada para fazer uma porta de entrada e saída de baixo nível. Elas são projetadas inicialmente para uso interno do kernel, mas podem se usadas no espaço de usuário, dando as seguintes informações .I adicionalmente ao que é dado para .I outb(9) .sp Você compila com \fB\-O\fP, \fB\-O2\fP ou parecido. As funções São definidas com macros dentro da linha, e não serão substituídas quando Não tiver otimização habilitada, causando referências não resolvidas em tempo de ligação. .sp Use .I ioperm(2) ou, alternativamente, .I iopl(2) para descobrir se o kernel permite aplicações no espaço de usuário acessar as portas de E/S mencionads. Não aceitando a aplicação terminará com falha de segmentação. .SH "DE ACORDO COM" \fBoutb\fP e comandos similares são específicos do cada hardware. Os argumentos .I port e .I value são em ordem oposta do que a maioria das implementações DOS. .SH "VEJA TAMBÉM" .BR ioperm (2), .BR iopl (2) .SH TRADUZIDO POR LDP-BR em 21/08/2000. \&\fR\&\f(CWAndré L. Fassone Canova (tradução)\fR \&\fR\&\f(CWxxxxxxxxxxxxxxxxxxxxxxxxx (revisão)\fR