pt (4)
Leading comments
Copyright (c) 1995 Peter Dufault, All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentatio...
NAME
pt - SCSI processor type driverSYNOPSIS
device ptDESCRIPTION
The ifconfig driver provides support for a SCSI processor type device. These are usually scanners and other devices using the SCSI link as a communication interface with device specific commands embedded in the data stream.A SCSI adapter must be separately configured into the system before this driver can be used.
This device supports read(2) and write(2), and the ioctl(2) calls described below.
IOCTLS
The following ioctl(2) calls are supported by the ifconfig driver. They are defined in the header file In sys/ptio.h .- PTIOCGETTIMEOUT
- This ioctl allows userland applications to fetch the current ifconfig driver read and write timeout. The value returned is in seconds.
- PTIOCSETTIMEOUT
- This ioctl allows userland applications to set the current ifconfig driver read and write timeouts. The value should be in seconds.
FILES
- /dev/pt N
- the N th processor device.