Sponsored Content
Full Discussion: Chardev.c
Operating Systems Linux Chardev.c Post 302778347 by Corona688 on Sunday 10th of March 2013 01:55:45 PM
Old 03-10-2013
It's used for hundreds of device control things where the usual system calls don't quite fit. It's hard to give an "average" example since it's almost guaranteed to not make sense out of context.

There are ioctl's to make a cdrom play or pause.

There are ioctl's to set the format of a floppy drive.

There are ioctl's to get the geometry of a hard drive.

There are ioctl's to control a linux PPP network device.

There are ioctl's to control sound cards.

There are ioctl's to set or clear lines on a serial port.

etc, etc.
 
LDP Introduction(ldp)													     LDP Introduction(ldp)

NAME
LDP - Intro to the Linux Documentation Project, with help, guides and documents SYNOPSIS
The Linux Documentation Project (LDP) provides a variety of free documentation resources including guides, FAQs, HOWTOs, and man-pages to the Linux community. AUTHORS
The various documents in the LDP archives are maintained by individual authors, and are listed in the beginning of each HOWTO. If you have any questions or inputs to a document we encourage you to contact the authors directly. WEB PAGES
The LDP has its own dedicated web site as do many of the various translations projects which are linked from the main LDP web site at http://www.LinuxDoc.org/ which you may wish to bookmark. MAN PAGES
A web page with status information for manual pages and translations is found at http://www.win.tue.nl/~aeb/linux/man/ MAILING LISTS
LDP has a number of mailing lists, mostly of use to authors: <ldp-announce@lists.LinuxDoc.org> Announcements from the LDP project <ldp-discuss@lists.LinuxDoc.org> General discussion on the LDP project To join these lists send a mail with a body of "subscribe" to <ldp-announce-request@lists.LinuxDoc.org> or <ldp-discuss-request@lists.Lin- uxDoc.org> respectively. These mailing lists are also archived at the LinuxDoc site. FILES
Most distributions include the HOWTOs and mini-HOWTOs in the installation /usr/doc/ (old place for documentation) /usr/share/doc/ (new place for documentation) /usr/share/doc/HOWTO/ (HOWTO files) /usr/share/doc/HOWTO/mini/ (mini-HOWTO files) SEE ALSO
man(1), xman(1x), info(1) info pages as read with emacs(1) or info(1) LDP
2001-11-15 LDP Introduction(ldp)
All times are GMT -4. The time now is 01:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy