What is an OpenSolaris syscall calling convention (x86)?
F.e. I'd like to write a program in 32bit assembly which displays a string to the console. For this I'd like to use "write" syscall (no. 4). C definition for write is:
ssize_t write(int fildes, const void *buf, size_t nbyte)
what registers should hold fildes, buf and nbyte arguments? Which interrupt should I call?