failed to lock port
failed to lock port
- Subject: failed to lock port
- From: "Pradip Patel" <email@hidden>
- Date: Thu, 6 Mar 2008 13:54:32 +0530
Hi
I am using BSD API to open port My code is as below
int fd = open(PORT_PATH,O_RDWR | O_NOCTTY | O_NONBLOCK | O_EXLOCK) if(fd
== -1 printf("\n port open failed"); else printf("\n
port open success");
The above code successfully open port on MacOS 10.3 and later, but on
MacOS 10.2.8, it is failed to open port.
What may be the problem ?
p2
--
eInfochips Business Disclaimer:
This message may contain confidential, proprietary or legally Privileged
information. In case you are not the original intended Recipient of the
message, you must not, directly or indirectly, use, Disclose,distribute,
print, or copy any part of this message and you are requested to delete
it and inform the sender. Any views expressed in this message are those
of the individual sender unless otherwise stated.Nothing contained in
this message shall be construed as an offer or acceptance of any offer
by eInfochips Limited and/or eInfochips Inc(“eInfochips”) unless sent
with that express intent and with due authority of eInfochips.EInfochips
has taken enough precautions to prevent the spread of viruses. However
the company accepts no liability for any damage caused by any virus
transmitted by this email.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden