This commit is contained in:
luoliwoshang
2024-08-31 20:49:23 +08:00
parent 2434fd778f
commit 3b9c9f6a97

3
c/c.go
View File

@@ -216,6 +216,9 @@ func Fputc(c Int, fp FilePtr) Int
//go:linkname Fputs C.fputs //go:linkname Fputs C.fputs
func Fputs(s *Char, fp FilePtr) Int func Fputs(s *Char, fp FilePtr) Int
//go:linkname Fread C.fread
func Fread(data Pointer, size, count uintptr, fp FilePtr) uintptr
//go:linkname Fflush C.fflush //go:linkname Fflush C.fflush
func Fflush(fp FilePtr) Int func Fflush(fp FilePtr) Int