doc/ck_epoch_register: Update to include third argument.

Reported by Matt Macy.
cos
Samy Al Bahra 7 years ago
parent 0d1e86d18e
commit 123bebba62

@ -34,7 +34,7 @@ Concurrency Kit (libck, \-lck)
.Sh SYNOPSIS .Sh SYNOPSIS
.In ck_epoch.h .In ck_epoch.h
.Ft void .Ft void
.Fn ck_epoch_register "ck_epoch_t *epoch" "ck_epoch_record_t *record" .Fn ck_epoch_register "ck_epoch_t *epoch" "ck_epoch_record_t *record" "void *cl"
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Fn ck_epoch_register 3 .Fn ck_epoch_register 3
@ -49,7 +49,11 @@ object pointed to by the
argument will have lifetime managed by the underlying epoch sub-system. argument will have lifetime managed by the underlying epoch sub-system.
The record object must not be destroyed after it is associated with a The record object must not be destroyed after it is associated with a
.Fn ck_epoch_register 3 .Fn ck_epoch_register 3
call. call. An optional context pointer
.Fa cl
may be passed that is retrievable with the
.Fn ck_epoch_record_ct 3
function.
.Sh RETURN VALUES .Sh RETURN VALUES
This function has no return value. This function has no return value.
.Sh SEE ALSO .Sh SEE ALSO

Loading…
Cancel
Save