mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 14:03:39 +00:00
os: Implement Pipe for darwin, add smoke test.
Evidently when you read from pipes in Go, you have to adjust your slice length to reflect the number of bytes read. Verified upstream behaves the same way.
This commit is contained in:
@@ -153,10 +153,6 @@ func Kill(pid int, sig Signal) (err error) {
|
||||
|
||||
type SysProcAttr struct{}
|
||||
|
||||
func Pipe2(p []int, flags int) (err error) {
|
||||
return ENOSYS // TODO
|
||||
}
|
||||
|
||||
// TODO
|
||||
type WaitStatus uint32
|
||||
|
||||
|
||||
Reference in New Issue
Block a user