type golang.org/x/sys/unix.Timeval
28 uses
golang.org/x/sys/unix (current package)
syscall_bsd.go#L545: func SysctlTimeval(name string) (*Timeval, error) {
syscall_bsd.go#L551: var tv Timeval
syscall_bsd.go#L564: func Utimes(path string, tv []Timeval) error {
syscall_bsd.go#L571: return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
syscall_bsd.go#L596: tv := [2]Timeval{
syscall_bsd.go#L600: return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
syscall_bsd.go#L619: func Futimes(fd int, tv []Timeval) error {
syscall_bsd.go#L626: return futimes(fd, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
syscall_darwin_amd64.go#L15: func setTimeval(sec, usec int64) Timeval {
syscall_darwin_amd64.go#L16: return Timeval{Sec: sec, Usec: int32(usec)}
syscall_unix.go#L289: func GetsockoptTimeval(fd, level, opt int) (*Timeval, error) {
syscall_unix.go#L290: var tv Timeval
syscall_unix.go#L360: func SetsockoptTimeval(fd, level, opt int, tv *Timeval) (err error) {
syscall_unix.go#L418: func Lutimes(path string, tv []Timeval) error {
timestruct.go#L47: func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
timestruct.go#L51: func NsecToTimeval(nsec int64) Timeval {
timestruct.go#L70: func (tv *Timeval) Unix() (sec int64, nsec int64) {
timestruct.go#L80: func (tv *Timeval) Nano() int64 {
zsyscall_darwin_amd64.go#L307: func utimes(path string, timeval *[2]Timeval) (err error) {
zsyscall_darwin_amd64.go#L327: func futimes(fd int, timeval *[2]Timeval) (err error) {
zsyscall_darwin_amd64.go#L801: func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
zsyscall_darwin_amd64.go#L1456: func Gettimeofday(tp *Timeval) (err error) {
zsyscall_darwin_amd64.go#L1967: func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
zsyscall_darwin_amd64.go#L2154: func Settimeofday(tp *Timeval) (err error) {
ztypes_darwin_amd64.go#L28: type Timeval struct {
ztypes_darwin_amd64.go#L40: Utime Timeval
ztypes_darwin_amd64.go#L41: Stime Timeval
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |