fdc.4 (89610) | fdc.4 (119893) |
---|---|
1.\" 2.\" Copyright (c) 1994 Wilko Bulte 3.\" Copyright (c) 2001 Joerg Wunsch 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 11 unchanged lines hidden (view full) --- 20.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27.\" | 1.\" 2.\" Copyright (c) 1994 Wilko Bulte 3.\" Copyright (c) 2001 Joerg Wunsch 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 11 unchanged lines hidden (view full) --- 20.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27.\" |
28.\" $FreeBSD: head/share/man/man4/fdc.4 89610 2002-01-21 12:09:13Z mpp $ | 28.\" $FreeBSD: head/share/man/man4/fdc.4 119893 2003-09-08 19:57:22Z ru $ |
29.\" 30.Dd December 16, 2001 31.Dt FDC 4 32.Os 33.Sh NAME 34.Nm fdc 35.Nd "PC architecture floppy disk controller driver" 36.Sh SYNOPSIS --- 136 unchanged lines hidden (view full) --- 173.Pp 174.Ss Programming Interface 175In addition to the normal read and write functionality, the 176.Nm 177driver offers a number of configurable options using 178.Xr ioctl 2 . 179In order to access any of this functionality, programmers need to 180include the header file | 29.\" 30.Dd December 16, 2001 31.Dt FDC 4 32.Os 33.Sh NAME 34.Nm fdc 35.Nd "PC architecture floppy disk controller driver" 36.Sh SYNOPSIS --- 136 unchanged lines hidden (view full) --- 173.Pp 174.Ss Programming Interface 175In addition to the normal read and write functionality, the 176.Nm 177driver offers a number of configurable options using 178.Xr ioctl 2 . 179In order to access any of this functionality, programmers need to 180include the header file |
181.Aq Pa sys/fdcio.h | 181.In sys/fdcio.h |
182into their programs. 183The call to 184.Xr open 2 185can be performed in two possible ways. 186When opening the device 187without the 188.Dv O_NONBLOCK 189flag set, the device is opened in a normal way, which would cause the --- 152 unchanged lines hidden --- | 182into their programs. 183The call to 184.Xr open 2 185can be performed in two possible ways. 186When opening the device 187without the 188.Dv O_NONBLOCK 189flag set, the device is opened in a normal way, which would cause the --- 152 unchanged lines hidden --- |