g_time_val_to_iso8601
<SUBSECTION>
+GTimeSpec
+
+<SUBSECTION>
GDate
GTime
GDateDMY
@Returns:
+<!-- ##### STRUCT GTimeSpec ##### -->
+<para>
+
+</para>
+
+@tv_sec:
+@tv_nsec:
+
<!-- ##### STRUCT GDate ##### -->
<para>
Represents a day between January 1, Year 1 and a few thousand years in
#endif
}
+/**
+ * GTimeSpec:
+ *
+ * Represents a precise time, with seconds and nanoseconds. This is
+ * similar to POSIX <structname>struct timespec</structname>.
+ *
+ * Since: 2.28
+ **/
+
static void
g_main_dispatch_free (gpointer dispatch)
{
#include <glibconfig.h>
#include <glib/gmacros.h>
+#include <time.h>
G_BEGIN_DECLS
glong tv_usec;
};
+typedef struct _GTimeSpec GTimeSpec;
+
+struct _GTimeSpec
+{
+ time_t tv_sec;
+ glong tv_nsec;
+};
+
G_END_DECLS
/* We prefix variable declarations so they can