outp (port, value) outpw (port, value)
These functions write a value to a hardware port. In order for these functions to succeed, the interpreter must be running with root permissions and a privity of 1, otherwise these functions may cause a segmentation fault.
The outp function writes a single byte to the specified port location. The outpw function writes a word (two bytes) to the specified port location.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.