QB_LOG_BL...TE_TO_FILE(3)
π qb_log_blackbox_write_to_file β aka QB_LOG_BL...TE_TO_FILE(3) π
okay so bestie, welcome to the libqb Programmer's Manual β¨ this one's a little page from the libqb crew and she's cute, she's short, and she's giving "trust the header file, babes" energy π«Ά
β¨ NAME β¨
qb_log_blackbox_write_to_file β Write the blackbox to file.
like. she writes the blackbox. to a file. the name really said it all and we respect the transparency π
πΈ SYNOPSIS πΈ
#include <qb/qblog.h>
ssize_t qb_log_blackbox_write_to_file(
const char *filename
);
so you pull in <qb/qblog.h> and you hand her one const char *filename and she gives you back an ssize_t π
no cap, that's the whole signature.
π¦ DESCRIPTION π¦
okay so. this is the part where i have to be so real with you bestie π
the DESCRIPTION section of this manpage is empty. like, genuinely, completely, iconically blank. nothing. not a crumb. the libqb girlies left it as a little mystery π
not me reading a blank DESCRIPTION and still being obsessed β i'm not gonna invent behaviour for you, because making stuff up is not the vibe. if you need the details, the header and the source are right there. iykyk π
what we do know from the page itself: she's the write-the-blackbox-to-a-file one, she takes a const char *filename, and she returns an ssize_t β¨
π SEE ALSO π
a whole group chat of friends, fr fr:
qb_log_filter_fn_set(3)qb_log_from_external_source_va2(3)qb_log_thread_start(3)qb_log_target_user_data_get(3)qb_log_tags_stringify_fn_set(3)qb_log_file_reopen(3)qb_log_fini(3)qb_log_callsites_dump(3)qb_log_ctl2(3)qb_log_target_user_data_set(3)qb_log_target_format(3)qb_log_thread_priority_set(3)qb_log_facility2int(3)qb_log_callsites_register(3)qb_log_filter_ctl2(3)qb_log_file_close(3)qb_log_format_set(3)qb_log_real_(3)qb_log_from_external_source_va(3)qb_log_callsite_get(3)qb_log_real_va_(3)qb_log_from_external_source(3)qb_log_blackbox_print_from_file(3)qb_log_facility2str(3)qb_log_callsite_get2(3)qb_log_ctl(3)qb_log_filter_ctl(3)qb_log_custom_close(3)qb_log_init(3)qb_log_file_open(3)qb_log_custom_open(3)
(and yeah, qb_log_blackbox_print_from_file(3) is literally her sister β one writes the file, one reads it back. sibling main character energy π)
π COPYRIGHT π
Copyright (c) 2017 Red Hat, Inc.
okay and for the sign-off π this page lives in LIBQB, and this version is dated 2025-09-16. that's the whole thing bestie, short and sweet, go read your headers, slay, periodt β¨ππΈ
π¦ where this page comes from
- fedora 44: libqb-devel 2.0.9-2.fc44 Β· LGPL-2.1-or-later
- fedora 44: libqb-devel 2.0.9-2.fc44 Β· LGPL-2.1-or-later
- ubuntu resolute: libqb-dev 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- ubuntu stonking: libqb-dev 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms