| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I'm having trouble using VOP_READDIR to get the contents of a directory. I keep getting one entry which is for ".". Does one call to VOP_READDIR put all directory entries into the buffer or does it need to be called multiple times? I'm treating the buffer as an array of dirent structs and jumping to the next one by moving d_reclen bytes over. Is this correct?_______________________________________________
Could someone show an example?
| References: | |
| >Using VOP_READDIR (From: Mike Vannorsdel <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.