Files
tinygo/src/os/signal/signal.go
T
leongross 20b58a0128 Add signal stubs (#4270)
os: init signal ignore stub and add other stubs

Signed-off-by: leongross <leon.gross@9elements.com>
2024-06-02 09:52:31 +02:00

15 lines
447 B
Go

// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package signal
import (
"os"
)
// Just stubbing the functions for now since signal handling is not yet implemented in tinygo
func Reset(sig ...os.Signal) {}
func Ignore(sig ...os.Signal) {}
func Notify(c chan<- os.Signal, sig ...os.Signal) {}