sysvshm_unix_other.go 420 B

1234567891011121314
  1. // Copyright 2021 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 darwin && !ios
  5. // +build darwin,!ios
  6. package unix
  7. // SysvShmCtl performs control operations on the shared memory segment
  8. // specified by id.
  9. func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) {
  10. return shmctl(id, cmd, desc)
  11. }