code: func GetSynciv(sync uintptr, pname uint32, bufSize int32, length *int32, values *int32) {
  	C.glowGetSynciv(gpGetSynciv, (C.GLsync)(sync), (C.GLenum)(pname), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLint)(unsafe.Pointer(values)))
  }
docs: // query the properties of a sync object