Home | History | Annotate | Download | only in os

Lines Matching full:syscall

8 	"syscall"
13 stat1 := fs1.sys.(*syscall.Stat_t)
14 stat2 := fs2.sys.(*syscall.Stat_t)
18 func fileInfoFromStat(st *syscall.Stat_t, name string) FileInfo {
26 switch st.Mode & syscall.S_IFMT {
27 case syscall.S_IFBLK:
29 case syscall.S_IFCHR:
31 case syscall.S_IFDIR:
33 case syscall.S_IFIFO:
35 case syscall.S_IFLNK:
37 case syscall.S_IFREG:
39 case syscall.S_IFSOCK:
42 if st.Mode&syscall.S_ISGID != 0 {
45 if st.Mode&syscall.S_ISUID != 0 {
48 if st.Mode&syscall.S_ISVTX != 0 {
54 func timespecToTime(ts syscall.Timespec) time.Time {
60 return timespecToTime(fi.Sys().(*syscall.Stat_t).Atim)