- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestErrno (0.11 sec)
-
src/cmd/cgo/internal/test/cgo_test.go
func TestEnum(t *testing.T) { testEnum(t) } func TestNamedEnum(t *testing.T) { testNamedEnum(t) } func TestCastToEnum(t *testing.T) { testCastToEnum(t) } func TestErrno(t *testing.T) { testErrno(t) } func TestFpVar(t *testing.T) { testFpVar(t) } func TestGCC68255(t *testing.T) { testGCC68255(t) } func TestHandle(t *testing.T) { testHandle(t) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 6.4K bytes - Viewed (0) -
src/cmd/cgo/internal/test/test.go
if e != 2 { t.Error("bad enum", C.Enum2) } } func testAtol(t *testing.T) { l := Atol("123") if l != 123 { t.Error("Atol 123: ", l) } } func testErrno(t *testing.T) { p := C.CString("no-such-file") m := C.CString("r") f, err := C.fopen(p, m) C.free(unsafe.Pointer(p)) C.free(unsafe.Pointer(m)) if err == nil { C.fclose(f)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0)