On 07.07.12 10:59, Jef Driesen wrote:
I'm not seeing any problems on 64bit linux, but maybe the actual value fits into an int, and on macosx it does not? Can someone check the actual values for TIOCMBIC and TIOCMBIS on 32 and 64bit macosx (using unsigned long of course).
Is this the way to do it?
printf("%ld %ld\n", TIOCMBIS, TIOCMBIC);
In that case, I've got this for 32bit:
-2147191700 -2147191701
... and this for 64bit:
2147775596 2147775595
Henrik