Scroll to navigation

libcnotify(3) Library Functions Manual libcnotify(3)

NAME

libcnotify.hLibrary to support cross-platform C notification functions

SYNOPSIS

#include <libcnotify.h>

Support functions
const char *
libcnotify_get_version(void);

Stream functions
int
libcnotify_stream_set(FILE *stream, libcnotify_error_t **error);

int
libcnotify_stream_open(const char *filename, libcnotify_error_t **error);

int
libcnotify_stream_close(libcnotify_error_t **error);

Verbose functions
void
libcnotify_verbose_set(int verbose);

Print functions
int
libcnotify_printf(const char *format, ...);

int
libcnotify_print_data(const uint8_t *data, size_t data_size, uint8_t print_data_flags);

int
libcnotify_print_error_backtrace(libcnotify_error_t *error);

DESCRIPTION

The () function is used to retrieve the library version.

RETURN VALUES

Most of the functions return NULL or -1 on error, dependent on the return type. For the actual return values see "libcnotify.h".

ENVIRONMENT

None

FILES

None

BUGS

Please report bugs of any kind on the project issue tracker: https://github.com/libyal/libcnotify/issues

AUTHOR

These man pages are generated from "libcnotify.h".

COPYRIGHT

Copyright (C) 2008-2024, Joachim Metz <joachim.metz@gmail.com>.

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

SEE ALSO

the libcnotify.h include file

March 15, 2019 libcnotify