- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for voidFunc (0.03 sec)
-
src/cmd/cgo/doc.go
assignment context to retrieve both the return value (if any) and the C errno variable as an error (use _ to skip the result value if the function returns void). For example: n, err = C.sqrt(-1) _, err := C.voidFunc() var n, err = C.sqrt(1) Note that the C errno value may be non-zero, and thus the err result may be non-nil, even if the function call is successful. Unlike normal Go conventions,
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Dec 11 23:57:34 UTC 2024 - 44K bytes - Viewed (0)