libfole(3)

πŸ“¦ in opensuse-leap 16.0

πŸ’… libfole(3) β€” the libfole.h glow-up

ok so real talk, bestie: this is the manual page for libfole.h from the Library Functions Manual section, and it's the Library to support the Object Linking and Embedding (OLE) data types. yes that OLE. the messy one. but like, we're handling it. 🫢


✨ SYNOPSIS ✨

first things first, you gotta pull it in:

#include <libfole.h>

🌸 Support functions

const char *
libfole_get_version(void);

πŸŽ€ Error functions

void
libfole_error_free(libfole_error_t **error);

int
libfole_error_fprint(libfole_error_t *error, FILE *stream);

int
libfole_error_sprint(libfole_error_t *error, char *string, size_t size);

int
libfole_error_backtrace_fprint(libfole_error_t *error, FILE *stream);

int
libfole_error_backtrace_sprint(libfole_error_t *error, char *string,
    size_t size);

πŸ¦‹ Value type functions

const char *
libfole_value_type_get_identifier(uint32_t value_type);

const char *
libfole_value_type_get_description(uint32_t value_type);

πŸ’– DESCRIPTION πŸ’–

okay so the main character here is libfole_get_version() β€” its whole job is to retrieve the library version. that's it. that's the description. iconic minimalism, honestly. ✨


πŸ”₯ RETURN VALUES πŸ”₯

most of these functions return NULL or -1 on error, depending on what the return type even is. and for the actual return values? go look at "libfole.h". no cap, that's where the real tea is. πŸ’…


🌈 ENVIRONMENT 🌈

None. literally nothing. no environment variables to worry about, bestie. breathe. 🧚


πŸ“ FILES πŸ“

None. also nothing. we love a low-maintenance library. πŸ’œ


πŸ’€ BUGS πŸ’€

found a bug? any kind of bug? do NOT suffer in silence β€” please report bugs of any kind on the project issue tracker:

https://github.com/libyal/libfole/issues

go off, tell them everything. they wanna know. πŸ™ˆ


πŸ‘‘ AUTHOR πŸ‘‘

these man pages are generated from "libfole.h". yes, the docs are basically the header file wearing a cute outfit. πŸŽ€


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.

like, fr fr β€” NO warranty. not even the implied ones. don't come for them if it breaks. 😭

πŸ•ŠοΈ SEE ALSO πŸ•ŠοΈ

  • the libfole.h include file

and that's the whole page, bestie β€” libfole, from March 27, 2019, living in libfole(3) land forever. mwah. πŸ’‹πŸ¦‹