syscall: forkExec - todo

This commit is contained in:
xushiwei
2024-07-18 15:58:44 +08:00
parent f2dafa7544
commit daf0a9dc9a
7 changed files with 61 additions and 369 deletions

View File

@@ -137,7 +137,7 @@ func Stat(path string, stat *Stat_t) (err error) {
func Pipe(p []int) (err error) {
if len(p) != 2 {
return EINVAL
return Errno(syscall.EINVAL)
}
var q [2]c.Int
ret := os.Pipe(&q)