recently, i am checking the system call implementation. after search the go
source code, under go/src/syscall. I found that some system call does exist
for specified platform(linux,darwin etc), but the Golang doesn't provide
these system call to the Go programmer. e.g.

SYS_READV = 120 // int readv(int fd, struct iovec
*iovp, u_int iovcnt);

does exist in file zsysnum_darwin_amd64.go. while in
zsyscall_darwin_amd64.go, there is no function to invoke the readv system

this is just one example, some system call is missing from the golang
implementation. anyone knows why?

You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupgolang-nuts @
postedAug 13, '15 at 1:48p
activeAug 13, '15 at 4:04p

2 users in discussion

Ian Lance Taylor: 1 post Qi Wang: 1 post



site design / logo © 2021 Grokbase