DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5

repoutsb(D3)


repoutsb -- write bytes from buffer to an I/O port

Synopsis

   #include <sys/types.h>
   #include <sys/ddi.h>
   

void repoutsb(int port, uchar_t *addr, int cnt);

Description

The repoutsb function provides a C language interface to the machine instructions that write a string of bytes to an 8 bit I/O port using the I/O address space, instead of the memory address space. cnt bytes starting at the address pointed to by addr are written to the I/O port in cnt write operations.

Arguments


port
A valid 8 bit I/O port.

addr
The address of the buffer from which cnt bytes are written to the I/O port.

cnt
The number of bytes to be written to the I/O port.

Return values

None

Usage

The buffer should be at least cnt bytes in length.

Context and synchronization

All contexts.

Hardware applicability

Intel IA-32 compatible platforms

Version applicability

ddi: 1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp

References

inb(D3), inl(D3), inw(D3), outb(D3), outl(D3), outw(D3), repinsb(D3), repinsd(D3), repinsw(D3), repoutsd(D3), repoutsw(D3)

``Programmed I/O (PIO)'' in HDK Technical Reference


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005