github.com/Kalvelign/golang-windows-sys-lib@v0.0.0-20221121121202-63da651435e1/unix/syscall_linux_alarm.go (about)

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