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

SEE ALSO

<libcnotify.h>

AUTHORS

Joachim Metz <joachim.metz@gmail.com>

BUGS

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

COPYRIGHT

Copyright (C) 2008-2026, 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.

June 10, 2026 Linux 6.4.0-150700.53.73-default