summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-11-08 07:38:32 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-11-08 07:39:06 +0100
commit0213597d464af56b2c0bf70daeb94063ee72e5f8 (patch)
treeb91210efe4e4c98b2f36ca1fd934177042db0b44
parentc-user/clock: Fix typo (diff)
downloadrtems-docs-0213597d464af56b2c0bf70daeb94063ee72e5f8.tar.bz2
c-user: Adjust URL for struct timespec
-rw-r--r--c-user/clock/directives.rst9
1 files changed, 4 insertions, 5 deletions
diff --git a/c-user/clock/directives.rst b/c-user/clock/directives.rst
index 877204a..d531918 100644
--- a/c-user/clock/directives.rst
+++ b/c-user/clock/directives.rst
@@ -1223,11 +1223,10 @@ system initialization using :term:`CLOCK_MONOTONIC`.
``uptime``
This parameter is the pointer to a `struct timespec
- <https://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/time.h.html>`_
- object. When the directive call is successful, the seconds and nanoseconds
- elapsed since some time point during the system initialization and some
- point during the directive call using :term:`CLOCK_MONOTONIC` will be
- stored in this object.
+ <https://en.cppreference.com/w/c/chrono/timespec>`_ object. When the
+ directive call is successful, the seconds and nanoseconds elapsed since
+ some time point during the system initialization and some point during the
+ directive call using :term:`CLOCK_MONOTONIC` will be stored in this object.
.. rubric:: RETURN VALUES: