Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
System Calls and Libraries: Sections 2 and 3 (Ref Pages Vol 3) > i

io_speed_ctl(3I)

Series 800 Only
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

io_speed_ctl() — inform system of required transfer speed (OBSOLETED AT 10.30)

SYNOPSIS

#include <dvio.h>

int io_speed_ctl(int eid, int speed);

DESCRIPTION

io_speed_ctl() selects the data transfer speed for a data path used for a particular interface. The transfer method (i.e., DMA or fast-handshake) chosen by the system is determined by the speed requirements.

eid is an entity identifier of an open HP-IB raw bus, Centronics-compatible parallel, or GPIO device file obtained from an open(), dup(), fcntl(), or creat() call. speed is an integer specifying the data transfer speed in Kbytes per second (one Kbyte equals 1024 bytes).

RETURN VALUE

io_speed_ctl() returns 0 if successful, and -1 otherwise.

ERRORS

io_speed_ctl() fails under the following condition, and sets errno to the value indicated:

[ENOTTY]

eid does not refer to channel device file.

[EBADF]

eid does not refer to an open file.

DEPENDENCIES

DMA is the only supported transfer method.

AUTHOR

io_speed_ctl() was developed by HP.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.