Achille
602f35a5ca
os: implement os.(*File).WriteAt ( #3697 )
...
os: implement os.(*File).WriteAt
Signed-off-by: Achille Roussel <achille.roussel@gmail.com >
2023-05-05 09:40:15 +02:00
Achille Roussel
ccfe92a58c
os: add os.(*File).Sync
...
Signed-off-by: Achille Roussel <achille.roussel@gmail.com >
2023-05-03 19:37:53 +02:00
Elliott Sales de Andrade
a680bfbb7a
os: Use a uintptr for NewFile
...
This appears to have been how it is upstream for about 10 years. Using
an interface breaks if a file descriptor number is passed directly to
`NewFile`, e.g., `NewFile(3, "fuzz_in")` as used in Go 1.18 fuzzing
code.
2022-03-01 14:01:40 +01:00
Dan Kegel
998f01608c
os: implement file.Seek, add smoke test
2022-01-11 14:23:14 +01:00
Dan Kegel
f79f6b0e62
os, syscall: implement ReadAt for unix
...
Windows will take more work, so test is skipped there.
2021-11-29 20:13:29 +01:00
Ayke van Laethem
6bcb40fe01
os: implement virtual filesystem support
...
This allows applications to mount filesystems in the os package. This is
useful for mounting external flash filesystems, for example.
2020-05-13 08:08:57 +02:00