Re: getting symbol not found _IOSleep
Re: getting symbol not found _IOSleep
- Subject: Re: getting symbol not found _IOSleep
- From: Joel Reymont <email@hidden>
- Date: Sun, 1 Feb 2009 21:42:47 +0000
On Feb 1, 2009, at 8: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().
There are two IOKits, one that's user land and another that's part of
the kernel.
cd /System/Library/Frameworks/IOKit.framework/
nm IOKit |grep IOSleep
# <nothing>. Not here!
cd ../Kernel.framework/
find . -name IOLib.h
./Versions/A/Headers/IOKit/IOLib.h
grep IOSleep ./Versions/A/Headers/IOKit/IOLib.h
/*! @function IOSleep
void IOSleep(unsigned milliseconds);
# ^^^ here
Can't use it, though, since it's part of the kernel.
---
http://tinyco.de
--- Mac & iPhone
_______________________________________________
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