Things like this are documented in the Apple sources and header files. Even if there are stubs of documentation they pretty much just give you the names of files, or man pages, to go read.
Once you get up out of the POSIX layers the Apple documentation has improved a lot lately.
Once you get up out of the POSIX layers the Apple documentation has improved a lot lately.