syscall_linux_alarm.go

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