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.
I want to control hardware using C language (ANSI/Standard C). I am not asking
Share
The basic entry point of hardware input/output control is
ioctl(orDeviceIoControlon Windows, described on the same Wikipedia article).