Changeset View
Changeset View
Standalone View
Standalone View
lib/libsys/gettimeofday.2
| Show All 26 Lines | |||||
| .\" | .\" | ||||
| .Dd April 28, 2024 | .Dd April 28, 2024 | ||||
| .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 | |||||
| .Lb libc | |||||
| .Sh SYNOPSIS | .Sh SYNOPSIS | ||||
| .Lb libc | |||||
| .In sys/time.h | .In sys/time.h | ||||
| .Ft int | .Ft int | ||||
| .Fn gettimeofday "struct timeval *tp" "struct timezone *tzp" | .Fn gettimeofday "struct timeval *tp" "struct timezone *tzp" | ||||
| .Ft int | .Ft int | ||||
| .Fn settimeofday "const struct timeval *tp" "const struct timezone *tzp" | .Fn settimeofday "const struct timeval *tp" "const struct timezone *tzp" | ||||
| .Sh DESCRIPTION | .Sh DESCRIPTION | ||||
| .Em Note : | .Em Note : | ||||
| The | The | ||||
| ▲ Show 20 Lines • Show All 104 Lines • Show Last 20 Lines | |||||