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

outl(D3)


outl -- write a 32 bit long word to a 32 bit I/O port

Synopsis

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

void outl(int port, ulong_t data);

Description

The outl( ) function provides a C language interface to the machine instruction that writes a 32 bit long word to an 32 bit I/O port using the I/O address space instead of the memory address space.

Arguments


port
A valid 32 bit I/O port.

data
The 32 bit value to be written to the port.

Return values

None

Usage

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

SCO OpenServer ODDI compatibility

outd(D3oddi) provides the same functionality in SCO OpenServer ODDI drivers, but note differences in the casting of the function and arguments and in the return values.

DOS systems often issue this function from user-level code. ``Porting DOS inb and outb functionality'' in HDK Technical Reference provides information about how to port such code to SCO OpenServer systems, but this information is generally appropriate for SVR5 systems as well.

References

inb(D3), inl(D3), inw(D3), outb(D3), outw(D3), repinsb(D3), repinsd(D3), repinsw(D3), repoutsb(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