]> Cypherpunks.ru repositories - gostls13.git/commit
syscall: generate readlen/writelen for openbsd libc
authorJoel Sing <joel@sing.id.au>
Thu, 28 Jan 2021 08:19:47 +0000 (19:19 +1100)
committerJoel Sing <joel@sing.id.au>
Thu, 28 Jan 2021 16:45:43 +0000 (16:45 +0000)
commitc8bd8010ff7c0115bf186443119216ba51f09d2b
treec61fc0028d6ae0e4b6f4649b9adad4f8a484803b
parent41bb49b878ce4dd24c0055aaf734577d3fb37d50
syscall: generate readlen/writelen for openbsd libc

Rather than hand rolling readlen and writelen, move it to being generated
via mksyscall.pl, as is done for most other functions.

Updates #36435

Change-Id: I649aed7b182b41c8639686feae25ce19dab812c3
Reviewed-on: https://go-review.googlesource.com/c/go/+/287532
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/syscall/syscall_openbsd_libc.go
src/syscall/zsyscall_openbsd_amd64.go
src/syscall/zsyscall_openbsd_arm64.go