1// Copyright 2015 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// Export guts for testing. 6 7package runtime 8 9import "unsafe" 10 11// var NewOSProc0 = newosproc0 12// var Mincore = mincore 13var Add = add 14 15type EpollEvent epollevent 16 17func Epollctl(epfd, op, fd int32, ev unsafe.Pointer) int32 { 18 return epollctl(epfd, op, fd, (*epollevent)(ev)) 19} 20