enable/disable device using device id..



Hi All,

i m working on Linux Fedora Core 4. i have to develop one program in
that i have device id. Based on given device id i have to
enable/disable particular device id.

i have to work with this problem using c programming language. If any
function/library, how could i do that i don't know.

Please, help me.

Chandrakant

.