You can always try to make your own c-level module that does this.
/ Martin Nilsson (DivX Networks)
Previous text:
2004-08-17 13:48: Subject: managing comport settings in linux
Can you ever with these things?
It all boils down to the fact that ioctls are very lowlevel, system specific and you shouldn't poke around with them unless you know what you are doing. By implementing my suggestion, you can implement default ioctls for "standard" functions and the user can easily implement her own ioctls as needed.
But, since this is dangerous stuff for the average user-joe, I would suggest making it a compiletime feature which has to be enabled with --enable-user-ioctls or something similar.
/ Marcus Agehall (PacketFront)