views:

479

answers:

6

Hi, I'm familiar to code in Windows environment. For some of our products, users are continuously asking for porting to Linux and Mac. To begin, I need a collection of documentation on the system APIs, how to use them, when to use them etc. documentation.

So, is there Is there any MSDN equivalent for Mac OS and Linux? Preferably in a downloadable format?

PS. I'd like to work on Free Pascal/Lazarus or RealBasic.

+1  A: 

For Mac, the developer site on developer.apple.com is great. It provides detailed documentation for all of the APIs in an easily searchable and readable format. The documentation is also bundled with XCode, so you don't even need to download it.

Dan Lorenc
+5  A: 

Well if you get Apple's XCode, you can download all sorts of documentation, tutorials, etc right from within Xcode. Or try the Apple Developer Connection for forums and anything else you can't find links to for in Xcode.

On Linux, you're more forced to individual package websites and man pages unfortunately.

samoz
+5  A: 

For Linux one place is the Linux Developer Network.

Things I have liked,

nik
I threw some search phrases into LDN's search. Mostly basic calls like syscall, or calls that are somewhat different from other (like lseek64), and found nothing.The generic unix stuff you can also get at www.opengroup.org
Marco van de Voort
+2  A: 

For Linux, the equivalent is man pages, which are usually part of the distribution, but the development man pages may be in a separate package which isn't part of the default distribution. You access them with the 'man' command.

Chris Dodd
+1  A: 

The Linux man-pages project is a useful reference for the system APIs. However, a lot of the time you will be using higher-level libraries; each one has its own documentation.

CesarB
A: 

Man pages, and in cases where that doesn't work, the sources. The FPC unix RTL was developed that way.

One of the most common gotchas is the difference between kernel and libc versions of structs.

Marco van de Voort