package osutil

import "github.com/coreos/etcd/pkg/osutil"

Package osutil implements operating system-related utility functions.

Index

Functions

func Exit

func Exit(code int)

Exit calls os.Exit

func HandleInterrupts

func HandleInterrupts()

HandleInterrupts is a no-op on windows

func RegisterInterruptHandler

func RegisterInterruptHandler(h InterruptHandler)

RegisterInterruptHandler is a no-op on windows

func Unsetenv

func Unsetenv(key string) error

Types

type InterruptHandler

type InterruptHandler func()

Source Files

interrupt_windows.go osutil.go signal.go

Version
v3.3.2+incompatible
Published
Mar 8, 2018
Platform
windows/amd64
Imports
4 packages
Last checked
8 minutes ago

Tools for package owners.