Skip to content

Commit d53e951

Browse files
maass-hamburgdanieldegrasse
authored andcommitted
docs: replace clock_gettime
the time() implementation now uses sys_clock_gettime(), change that in the docs. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
1 parent c3e4ed7 commit d53e951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/develop/languages/c/common_libc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Time function
1212
*************
1313

1414
This provides an implementation of the standard C function, :c:func:`time`,
15-
relying on the Zephyr function, :c:func:`clock_gettime`. This function can
15+
relying on the Zephyr function, :c:func:`sys_clock_gettime`. This function can
1616
be enabled by selecting :kconfig:option:`COMMON_LIBC_TIME`.
1717

1818
Dynamic Memory Management

0 commit comments

Comments
 (0)