Home | History | Annotate | Download | only in syscall

Lines Matching full:func

9 func Getpagesize() int { return 4096 }
11 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
13 func NsecToTimespec(nsec int64) (ts Timespec) {
19 func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
21 func NsecToTimeval(nsec int64) (tv Timeval) {
29 func Gettimeofday(tv *Timeval) (err error) {
39 func SetKevent(k *Kevent_t, fd, mode, flags int) {
45 func (iov *Iovec) SetLen(length int) {
49 func (msghdr *Msghdr) SetControllen(length int) {
53 func (cmsg *Cmsghdr) SetLen(length int) {
57 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
70 func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err Errno)