sd_journal_get_cutoff_realtime_usec - Read cut-off timestamps from the current journal entry

NAME  SYNOPSIS  DESCRIPTION  RETURN VALUE  SEE ALSO 

NAME

sd_journal_get_cutoff_realtime_usec, sd_journal_get_cutoff_monotonic_usec − Read cut−off timestamps from the current journal entry

SYNOPSIS

#include <elogind/sd−journal.h>

int sd_journal_get_cutoff_realtime_usec(sd_journal *j, uint64_t *from, uint64_t *to);

int sd_journal_get_cutoff_monotonic_usec(sd_journal *j, sd_id128_t boot_id, uint64_t *from, uint64_t *to);

DESCRIPTION

As elogind can not open any systemd journals, the functions sd_journal_get_cutoff_realtime_usec() and sd_journal_get_cutoff_monotonic_usec() do nothing.

RETURN VALUE

sd_journal_get_cutoff_realtime_usec() and sd_journal_get_cutoff_monotonic_usec() return 0.

SEE ALSO

elogind(8),

sd_journal_open(3), sd_journal_get_realtime_usec(3), sd_id128_get_boot(3), clock_gettime(2)


Updated 2024-01-29 - jenkler.se | uex.se