Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sammich

macrumors 601
Original poster
Sep 26, 2006
4,305
268
Sarcasmville.
I just started a CS course at uni called Software Construction (2nd year) and we use 'C' as our language.

In the labs at uni, we run solaris, and we can access the manpages for C functions straight from the cmd line, ie: 'man rand'. Is there a way to get these pages onto my system, or are they already there? It would be a great help.

Thanks,
Sam.
 

itickings

macrumors 6502a
Apr 14, 2007
947
185
They should be right there in OS X already. Just fire up Applications/Utilities/Terminal.app and type 'man -S 3 rand' (or whatever library function you are after).
 

sammich

macrumors 601
Original poster
Sep 26, 2006
4,305
268
Sarcasmville.
Cool, thanks for that.

Just one more thing...should man pages differ from OS to OS? It's just that the rand man page has a little more 'use' info at the bottom.

Nevermind, as long as they are the c functions.

Thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.