I have an old (OS9) file containing a resource fork with \"CODE\" resources and i would like to read that from Obj-C. I use something like:
NSFileHandle *codeFil
Opening the path
yourFile/..namedfork/rsrc
gives you access to the resource fork of "yourFile". Alternatively, you can use getxattr(), because the resource fork is stored as an extended attribute named "com.apple.ResourceFork".
getxattr()