[Techtalk] wrapping unix commands

overhaul overhaul at littledeath.net
Fri Apr 8 05:44:42 EST 2005


I'm in a bit of a pinch.   I have limited C knowledge but have been told 
it's quite simple to write a C wrapper around unix commands.   I have a 
need now to create a few wrappers for commands that kernel will not 
allow any non-root user to run ... such as pciconf.

I have scoured the net but either the info doesn't exist (doubtful) or 
I'm not looking in the right places.

Does anybody have a clue how to write a C wrapper?


More information about the Techtalk mailing list