github.com/eh-steve/goloader@v0.0.0-20240111193454-90ff3cfdae39/libc/lookup_libc_cgo.go (about)

     1  //go:build cgo && !windows
     2  // +build cgo,!windows
     3  
     4  package libc
     5  
     6  import (
     7  	"github.com/eh-steve/goloader/libc/libc_cgo"
     8  )
     9  
    10  func LookupDynamicSymbol(symName string) (uintptr, error) {
    11  	return libc_cgo.LookupDynamicSymbol(symName)
    12  }