• 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: Ladd Van Tol <email@hidden>
  • Date: Sun, 1 Feb 2009 20:27:10 -0800

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


_______________________________________________ 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
  • Follow-Ups:
    • Re: getting symbol not found _IOSleep
      • From: "Ken G. Brown" <email@hidden>
References: 
 >getting symbol not found _IOSleep (From: "Ken G. Brown" <email@hidden>)

  • Prev by Date: Re: receiving: "warning: ignoring #pragma mark"
  • Next by Date: Re: getting symbol not found _IOSleep
  • Previous by thread: Re: getting symbol not found _IOSleep
  • Next by thread: Re: getting symbol not found _IOSleep
  • Index(es):
    • Date
    • Thread