On 23 Sep 2008, at 12:51, Brad Campbell wrote:
Can any Mac people tell me why FHandle := fpOpen(Port, O_RDWR or O_NOCTTY); (Where FHandle is a longint and port is '/dev/tty.usbserial-A400379A') .. just locks up waiting ?
No, I can't tell you why this happens. Does the same happen if you do it in a C program?
Obviously I'm doing something dumb, I just don't know how to debug it. No strace on MacOS.
There's druss on Mac OS X 10.5.x and higher, and ktrace/kdump on Mac OS X 10.4.x and lower. The rosetta stone for Unix is your friend: http://bhami.com/rosetta.html
Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal