mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-12 06:53:40 +00:00
os: implement file.Seek, add smoke test
This commit is contained in:
@@ -50,6 +50,11 @@ func (f stdioFileHandle) Close() error {
|
||||
return ErrUnsupported
|
||||
}
|
||||
|
||||
// Seek wraps syscall.Seek.
|
||||
func (f stdioFileHandle) Seek(offset int64, whence int) (int64, error) {
|
||||
return -1, ErrUnsupported
|
||||
}
|
||||
|
||||
//go:linkname putchar runtime.putchar
|
||||
func putchar(c byte)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user