選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

18 行
608 B

  1. // Copyright 2018 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. //go:build linux && gc && 386
  5. // +build linux,gc,386
  6. package unix
  7. import "syscall"
  8. // Underlying system call writes to newoffset via pointer.
  9. // Implemented in assembly to avoid allocation.
  10. func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno)
  11. func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
  12. func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)