Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/sys/gettimeofday.2
Show All 22 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" @(#)gettimeofday.2 8.2 (Berkeley) 5/26/95 | .\" @(#)gettimeofday.2 8.2 (Berkeley) 5/26/95 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd October 27, 2018 | .Dd May 13, 2021 | ||||
.Dt GETTIMEOFDAY 2 | .Dt GETTIMEOFDAY 2 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm gettimeofday , | .Nm gettimeofday , | ||||
.Nm settimeofday | .Nm settimeofday | ||||
.Nd get/set date and time | .Nd get/set date and time | ||||
.Sh LIBRARY | .Sh LIBRARY | ||||
.Lb libc | .Lb libc | ||||
▲ Show 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | |||||
A user other than the super-user attempted to set the time. | A user other than the super-user attempted to set the time. | ||||
.El | .El | ||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr date 1 , | .Xr date 1 , | ||||
.Xr adjtime 2 , | .Xr adjtime 2 , | ||||
.Xr clock_gettime 2 , | .Xr clock_gettime 2 , | ||||
.Xr ctime 3 , | .Xr ctime 3 , | ||||
.Xr timeradd 3 , | .Xr timeradd 3 , | ||||
.Xr clocks 7 , | .Xr clocks 7 | ||||
.Xr timed 8 | |||||
.Sh HISTORY | .Sh HISTORY | ||||
The | The | ||||
.Fn gettimeofday | .Fn gettimeofday | ||||
system call appeared in | system call appeared in | ||||
.Bx 4.2 . | .Bx 4.2 . |