title: Controlling hardware through C
body: <p>I want to control hardware using C language (ANSI/Standard C). I am not asking about interfacing. I want to manage my computer resources by C code. like how can I eject my DVD ROM drive. a code that produces a beep from speaker. and similar things. 
  I need a good tutorial, or any study material which is free.</p>