简体   繁体   中英

Get BSD file descriptor from OSX CoreServices objects

I am new to OSX user space development. I've read documentation and googled before asking, but still have no clue about the following.

If i am to use CoreServices framework to work with files (FSRef, Forks, URLs, etc.) will i be able to get a raw BSD file descriptor (plain int)? If yes, then how can i do that? The thing is, i want to learn to program with OSX frameworks, but the actual task at hand will require BSD file descriptor later.

Inso.

Looks like there is really no way to do this. Oh well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM