Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
MacOS X special file device drivers?
I love my Mac, and I love that it is UNIX underneath its sexy dress. But it's BSD, basically, and that means it's not Linux, and Linux is where I cut my teeth kernel hacking. I can write a device driver in Linux (both 2.4 and 2.6 kernel), and I have done. But I'm all at sea when it comes to doing the same for MacOS X. Where do I start? What is the Mac equivalent of the O'Reilly book Linux Device Drivers?
I ask specifically because I would love there to be a BSD equivalent of the /dev/full special file device driver (reads return ASCII zero, seeks always work and, crucially, writes always return ENOSPC, which is POSIX errno code for 'sorry, ran out of room'.) It is very useful for testing code that writes to backing store (and if your code doesn't write to backing store at some point it's probably either really lame or broken.)
I want major/minor 1/7 on my Mac to do the right thing. How?
Look, I understand the Mac software development model. I have written Mac applications since 1984, which it is pretty obvious neither of you have. I want Darwin dev docs, not vague handwaving.
2 Answers
- 1 decade agoFavorite Answer
Electronics mart ... i find it helps me with everything electronic
- gicutaleLv 41 decade ago
Linux is open source, Mac is not. All software (including system software) for Mac is bought. You can only talk to the guys who hacked Macintosh, like the Voodoo team. (What about applying for a job at Apple?...)