libcnotify(3)

πŸ“¦ in opensuse-leap 16.0

πŸ’– libcnotify(3) β€” Library Functions Manual ✨

okay bestie, welcome to the libcnotify(3) page β€” it’s the Library Functions Manual for libcnotify.h, aka the cross-platform C notification support library. Grab a lil snack πŸ“ and let’s go.


🌸 NAME 🌸

  • libcnotify.h β€” Library 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);
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 libcnotify_get_version() function is used to retrieve the library version. That’s the whole DESCRIPTION vibe, bestie β€” short, sweet, and to the point. πŸ’–


πŸ’€ 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". 🫢

ngl, that "libcnotify.h" file is where the real lore lives β€” go check it for the exact return values.

🌈 ENVIRONMENT 🌈

None. Literally none, bestie. πŸ’…


πŸŽ€ FILES πŸŽ€

None. No files to hunt down here. πŸ¦‹


πŸ› 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 (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 🫢

mwah πŸ’‹ β€” this page’s source/version is libcnotify, dated March 15, 2019, and it’s the libcnotify(3) manual. periodt. πŸŽ€