You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

syscall_linux_alarm.go 440B

123456789101112
  1. // Copyright 2022 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 && (386 || amd64 || mips || mipsle || mips64 || mipsle || ppc64 || ppc64le || ppc || s390x || sparc64)
  5. package unix
  6. // SYS_ALARM is not defined on arm or riscv, but is available for other GOARCH
  7. // values.
  8. //sys Alarm(seconds uint) (remaining uint, err error)