LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-04-2007, 09:35 PM   #1
muskvar
Member
 
Registered: May 2007
Posts: 54

Rep: Reputation: 15
different linux interfaces


i want to know the different interfaces that linux provides like say the cdrom.h interface which allows a C program to include<linux/cdrom.h> and conttrol the CDROM drive and sound to play,pause,eject,etc.

are there interfaces for the hard disk,mouse,speaker,graphics card,etc which i can use in my C program to control these devices.
 
Old 12-04-2007, 09:44 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Take a look in /usr/src/linux/include. (On my machine "linux" is a soft link to the directory named for the active kernel.) Without worrying about a link, you can do:
Quote:
cd /usr/src/`uname -r`/include
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux multiple interfaces Ammad Linux - Networking 4 01-24-2007 12:34 AM
Virtual Interfaces on Linux kidskc Linux - Networking 0 05-12-2005 03:36 PM
Linux virtual interfaces....specify default ip nastea Linux - Networking 5 12-08-2004 12:58 PM
Audio Interfaces for iBook/Linux bennyp Linux - Hardware 0 08-16-2004 07:15 PM
linux 2.4 and two 3Com interfaces.... loicfabro Linux - Networking 11 04-09-2002 08:57 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration