Skip to content

Commit

Permalink
add other stubs
Browse files Browse the repository at this point in the history
Signed-off-by: leongross <[email protected]>
  • Loading branch information
leongross committed May 21, 2024
1 parent d958ef9 commit 01804b4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/os/signal/signal.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// 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) {}

0 comments on commit 01804b4

Please sign in to comment.