//syscall
//syscall 系统调用包
/*
*/
type File struct{
*file
}
type file struct{
fd int
name string
dirinfo *dirInfo
}
type dirInfo struct{
buf []byte
nbuf int
bufp int
}
func Create(name string)(*File, error){
return OpenFile(name, O_RDWR, 0666)
}
syscall.Open(name, O_RDWR, 0666)
type WaitStatus uint32
TrapCause
Stopped
StopSignal
Signaled
Signal
Exited
ExitStatus
CoreDump
Continued