Skip to content

Commit

Permalink
Fixes clock_gettime, which was actually an error in an L link
Browse files Browse the repository at this point in the history
Refs #2568
  • Loading branch information
JJ committed Jan 23, 2019
1 parent 1f7e23b commit dded407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Language/nativecall.pod6
Expand Up @@ -126,7 +126,7 @@ say "$result, $this-time"; # OUTPUT: «0, timespec<65385480>␤»
=end code
The L<original function we are calling,
L<clock_gettime|/routine/clock_gettime>|https://linux.die.net/man/3/clock_gettime>, uses a pointer to
L<clock_gettime|https://linux.die.net/man/3/clock_gettime>, uses a pointer to
the C<timespec> struct as second argument. We declare it as a L<class|/syntax/class> here, but
specify its representation as C<is repr('CStruct')>, to indicate it corresponds
to a C data structure. When we create an object of that class, we are creating
Expand Down

0 comments on commit dded407

Please sign in to comment.