In your syscalls.master, the column at the left contains the syscall numbers (that go into eax). Then, you push every parameter in the column at the right, from the right to the left.
Don't forget to clean the stack upon return.
In general, return values go into eax and the CF is cleared upon success and set upon failure.
Generally, there are developer documents for the various BSD derivatives. FreeBSD has a developers handbook in addition to numerous other documents. Specific BSD forums exist for users with mailing lists usually serving developers, but could be utilized interchangeably in order to find relevant data on the platform you wish to develop in. There are also C and C++ forums as well as O.S. specialty sites that may provide guidance and/or direction to other more pertinent resources. First and foremost click on ManOfSteel's link above then select the appropriate O.S. version and read on. Man pages are API documentation, but without all of the pretty frames on the top and left sides for headings and navigation.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum