Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

Version: 1.1

Posted: 2007-05-31

Build Requirements: Xcode 2.2.1 or later

Runtime Requirements: Mac OS X 10.2 or later

View Source Code:

Download Sample (“SimpleUserClient.zip”, 32.2K)
Download Sample (“SimpleUserClient.dmg”, 82.3K)



Description

This sample illustrates how to add a simple user client to an I/O Kit kernel driver and also shows the corresponding user space routines for calling into the user client. This sample code has been updated to include a project that produces a universal binary. The code changes have been documented in each source file and in the ReadMe.

Document Revision History

Date Notes
2007-05-31Added IOMatchCategory to Info.plist to fix <rdar://problem/3963763>. Shows how a user client can detect if it has been opened by a process running using Rosetta. Updated to produce a universal binary. Necessary code changes are documented within the project.
2003-01-14Shows how to create a user client for an I/O Kit kernel driver.



Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.