// c1.go package rand // #include import "C" func Random() int { return int(C.random()) } func Seed(i int) { C.srandom(C.uint(i)) }