]> Cypherpunks.ru repositories - gostls13.git/commit
syscall: drop references to Unix epoch in Timeval/Timespec docs
authorIan Lance Taylor <iant@golang.org>
Thu, 10 Dec 2020 23:01:20 +0000 (15:01 -0800)
committerIan Lance Taylor <iant@golang.org>
Thu, 10 Dec 2020 23:24:38 +0000 (23:24 +0000)
commite012d0dc34e0c182aed605347fb19c6980b3f8bd
tree9d7d2572687aa994a4a85ec2e1114abfac991db7
parent1fe891a937eae62ce396f3d7c7c6c472701acf0a
syscall: drop references to Unix epoch in Timeval/Timespec docs

The various conversion functions just change the format of time values.
They don't use the Unix epoch. Although in practice the values are often
times since the Unix epoch, they aren't always, so referring to the
epoch can be confusing.

Fixes #43010

Change-Id: I640d665f0d2017f0974db05d70858037c7c91eda
Reviewed-on: https://go-review.googlesource.com/c/go/+/277073
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
src/syscall/syscall.go
src/syscall/timestruct.go