systemcall

package
v2.6.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoubleForkAndExecute

func DoubleForkAndExecute(fd int, cfgFile string) error

DoubleForkAndExecute fork current process twice and runs syscall.Exec

func WriteToEventfd

func WriteToEventfd(fd int, value uint64) (int, error)

WriteToEventfd writes value to an given eventfd it is said from http://man7.org/linux/man-pages/man2/eventfd.2.html A write(2) fails with the error EINVAL if the size of the supplied buffer is less than 8 bytes, or if an attempt is made to write the value 0xffffffffffffffff.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL