Can you guarantee that the process wont crash if you don't feed it the wrong information?
/ Mirar
Previous text:
2004-08-17 13:32: Subject: managing comport settings in linux
What would be nice, is a way to define ioctl methods in Pike. Perhaps something like
object i = Stdio.IOCTL(4242 /* request_id */ ); i->add_int_parameter(); i->add_string_parameter(); i->set_return_type(STRING);
string ret = i(fd, 1, "somestring");
That ought to be possible, or..?
/ Marcus Agehall (PacketFront)
pike-devel@lists.lysator.liu.se