c:fread
This commit is contained in:
3
c/c.go
3
c/c.go
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user