Re: getting symbol not found _IOSleep
Re: getting symbol not found _IOSleep
- Subject: Re: getting symbol not found _IOSleep
- From: "Ken G. Brown" <email@hidden>
- Date: Sun, 1 Feb 2009 23:13:30 -0700
Thx. That is indeed what I ended up using and it seems to do the job.
Ken
At 8:27 PM -0800 2/1/09, Ladd Van Tol wrote:
>You probably want usleep instead, which takes a microsecond-precision parameter, and is available to user-land programs.
>
>- Ladd
>
>On Feb 1, 2009, at 12:06 PM, Ken G. Brown wrote:
>
>>I'm trying to do a short delay in a user level C program for sending bytes out to a serial port using IOSleep().
>>I'm getting _IOSleep symbol not found error when building.
>>I am including
>>
>>#include <IOKit/IOKitLib.h> in the program and do not get any compile errors.
>>
>>And I have IOKit.framework in the project. It seems like _IOSleep is in IOKit.h but that does not seem to be in the IOKit.framework.
>>Now I'm not sure how to resolve the issue.
>>Which framework should I have in my project?
>>
>>Should I be using something else for my delay?
>>
>>This is running on 10.5.6, Xcode 3.1.2, building for i386, and base SDK Mac OS X 10.4.
>>
>>Thx for any tips.
>>Ken G. Brown
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden