• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: getting symbol not found _IOSleep
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >getting symbol not found _IOSleep (From: "Ken G. Brown" <email@hidden>)
 >Re: getting symbol not found _IOSleep (From: Ladd Van Tol <email@hidden>)

  • Prev by Date: Re: getting symbol not found _IOSleep
  • Next by Date: Re: Query on CrashReporter
  • Previous by thread: Re: getting symbol not found _IOSleep
  • Next by thread: Re: getting symbol not found _IOSleep
  • Index(es):
    • Date
    • Thread