@@ -203,7 +203,7 @@ impl std::fmt::Display for ClockId {
203
203
}
204
204
205
205
/// Get the resolution of the specified clock, (see
206
- /// [clock_getres(2)](https://www.man7 .org/linux/man-pages/man2 /clock_getres.2 .html)).
206
+ /// [clock_getres(2)](https://pubs.opengroup .org/onlinepubs/7908799/xsh /clock_getres.html)).
207
207
pub fn clock_getres ( clock_id : ClockId ) -> Result < TimeSpec > {
208
208
let mut c_time: MaybeUninit < libc:: timespec > = MaybeUninit :: uninit ( ) ;
209
209
let ret = unsafe { libc:: clock_getres ( clock_id. as_raw ( ) , c_time. as_mut_ptr ( ) ) } ;
@@ -213,7 +213,7 @@ pub fn clock_getres(clock_id: ClockId) -> Result<TimeSpec> {
213
213
}
214
214
215
215
/// Get the time of the specified clock, (see
216
- /// [clock_gettime(2)](https://www.man7 .org/linux/man-pages/man2 /clock_gettime.2 .html)).
216
+ /// [clock_gettime(2)](https://pubs.opengroup .org/onlinepubs/7908799/xsh /clock_gettime.html)).
217
217
pub fn clock_gettime ( clock_id : ClockId ) -> Result < TimeSpec > {
218
218
let mut c_time: MaybeUninit < libc:: timespec > = MaybeUninit :: uninit ( ) ;
219
219
let ret = unsafe { libc:: clock_gettime ( clock_id. as_raw ( ) , c_time. as_mut_ptr ( ) ) } ;
@@ -223,7 +223,7 @@ pub fn clock_gettime(clock_id: ClockId) -> Result<TimeSpec> {
223
223
}
224
224
225
225
/// Set the time of the specified clock, (see
226
- /// [clock_settime(2)](https://www.man7 .org/linux/man-pages/man2 /clock_settime.2 .html)).
226
+ /// [clock_settime(2)](https://pubs.opengroup .org/onlinepubs/7908799/xsh /clock_settime.html)).
227
227
#[ cfg( not( any(
228
228
target_os = "macos" ,
229
229
target_os = "ios" ,
@@ -238,7 +238,7 @@ pub fn clock_settime(clock_id: ClockId, timespec: TimeSpec) -> Result<()> {
238
238
}
239
239
240
240
/// Get the clock id of the specified process id, (see
241
- /// [clock_getcpuclockid(3)](https://www.man7 .org/linux/man-pages/man3 /clock_getcpuclockid.3 .html)).
241
+ /// [clock_getcpuclockid(3)](https://pubs.opengroup .org/onlinepubs/009695399/functions /clock_getcpuclockid.html)).
242
242
#[ cfg( any(
243
243
target_os = "freebsd" ,
244
244
target_os = "dragonfly" ,
0 commit comments