Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] Ctypes and time_t
@ 2016-03-13 12:05 Malcolm Matalka
  0 siblings, 0 replies; only message in thread
From: Malcolm Matalka @ 2016-03-13 12:05 UTC (permalink / raw)
  To: caml-list

I see that Ctypes has a time_t in it, but how do I construct one from an
integer?  Specifically, I'm wrapping a struct timespec which contains a
time_t to represent the number of seconds and a long for the number of
nanoseconds.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-03-13 12:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-13 12:05 [Caml-list] Ctypes and time_t Malcolm Matalka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox