Hi,
I'm porting the some linux telephony API drivers over
to FreeBSD.

But the author of the linux driver used the 'hack' of
returning values from the ioctls as the error result.

eg    volume = ioctl (fd, IXJ_GET_VOLUME)

instead of using
      error = ioctl (fd, IXJ_GET_VOLUME, &volume);


Naturally I want to keep the API the same on FreeBSD
so existing apps will compile without change.
But right now it looks like I cannot do this.

Is there anything I can do in the FreeBSD driver
or in existing source to help, without imposing
a new 'BSD' API.


Cheers
Roger Hardiman

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to