DOKK / manpages / debian 12 / libelogind-dev-doc / sd_journal_next_skip.3.en
SD_JOURNAL_NEXT(3) sd_journal_next SD_JOURNAL_NEXT(3)

sd_journal_next, sd_journal_previous, sd_journal_next_skip, sd_journal_previous_skip - Advance or set back the read pointer in the journal

#include <elogind/sd-journal.h>

int sd_journal_next(sd_journal *j);

int sd_journal_previous(sd_journal *j);

int sd_journal_next_skip(sd_journal *j, uint64_t skip);

int sd_journal_previous_skip(sd_journal *j, uint64_t skip);

As elogind can not open any systemd journals, the functions sd_journal_next, sd_journal_previous, sd_journal_next_skip and sd_journal_previous_skip do nothing.

The four calls return -ENOSYS.

elogind(8),

sd_journal_open(3), sd_journal_get_data(3), sd_journal_get_realtime_usec(3), sd_journal_get_cursor(3)

elogind 246.10