The syscall package is highly platform specific and the documentation seems to be
generated only for the platform the generator is running on (amd64-linux in the case of
http://tip.golang.org/pkg/syscall/ apparently). This leads to a lack of mention for any
other platform's functions, such as Exchangedata on Darwin, which is however available
on that platform.
Furthermore the documentation doesn't describe what's available on which platform, which
would be highly useful.
The text was updated successfully, but these errors were encountered:
AFAIK use of the syscall package is at least somewhat discouraged (among other things
code using it is inherently unportable), and I think in part the lack of documentation
is to discourage users.
Perhaps what would help is to document this situation more clearly, and explain under
what circumstances is recommended to use or not use the syscall package.