What is the Haiku equivalent of man? Like for instance I want to add a system call for umount. How do I determine which include file to use and which lib to link against?
Most basic functionality doesn't need any extra libraries. Anything POSIX-related (like umount) is already built-in, for example. The rest typically follow the pattern of needing a specific library for a kit, such as libmedia for the Media Kit. Here is a quick list of some of the more commonly needed libraries:
Comments
Re: Haiku man equivalent?
man is available from the Haiku Ports tree -- http://ports.haiku-files.org . It's in the sys-apps category.
Re: Haiku man equivalent?
Thanks, I found it and installed it but there don't appear to be man page entries for system calls.
The problem I'm trying to solve is how do you find out which lib to link in when you need a particular system call?
Re: Haiku man equivalent?
Most basic functionality doesn't need any extra libraries. Anything POSIX-related (like umount) is already built-in, for example. The rest typically follow the pattern of needing a specific library for a kit, such as libmedia for the Media Kit. Here is a quick list of some of the more commonly needed libraries:
open/save panels - libtracker.
networking - libnetwork (duh :)
translation kit - libtranslation
STL - libstdc++(gcc4) or libstdc++.r4(gcc2)
HTH