GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
TIMESPEC_GETRES(3) FreeBSD Library Functions Manual TIMESPEC_GETRES(3)

timespec_getresget clock resolution

Standard C Library (libc, -lc)

#include <time.h>

int
timespec_getres(struct timespec *ts, int base);

If ts is non-null and base refers to a supported time base as described in timespec_get(3), the timespec_getres function fills in the structure pointed to by ts to reflect the resolution of that time base.

The timespec_getres function returns the value of base if successful and zero otherwise.

clock_getres(2), timespec_get(3)

This interface first appeared in FreeBSD 14.

The timespec_getres function and this manual page were written by Dag-Erling Smørgrav <des@FreeBSD.org>.

August 21, 2023 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.