sys_stub.go 430 B

1234567891011121314151617
  1. // Copyright 2017 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. // +build nacl plan9
  5. package socket
  6. import "errors"
  7. func getsockopt(s uintptr, level, name int, b []byte) (int, error) {
  8. return 0, errors.New("not implemented")
  9. }
  10. func setsockopt(s uintptr, level, name int, b []byte) error {
  11. return errors.New("not implemented")
  12. }