| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I searched through the Darwin code, but couldn't find the answer to this_______________________________________________
question. If you make an IOConnectMethodStructureIStructureO call from user
land, does the system not update the StructureO in user land if the call
returns with an error? I was trying to return some secondary status in the
StructureO structure if the called failed in the driver, but even though I
could update the field value in the StructureO structure at the kernel level
(and saw it change with an IOLog), if I returned from the kernel with
anything other than kIOReturnSuccess then the field that I updated would not
reflect the change that I made in the kernel back in user land. Is this by
design?
| References: | |
| >Behaviour of IOConnectMethodStructureIStructureO (From: Robert Penland <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.