QB_LOG_CUSTOM_OPEN(3)
π QB_LOG_CUSTOM_OPEN(3) π
okay bestie, so this one lives in the libqb Programmer's Manual (section 3, the library-call girlies), and it's literally just one job: opening your very own custom log target. no cap. π
β¨ NAME β¨
qb_log_custom_open β Open a custom log target.
like. you bring the functions, libqb brings the slot in the lineup. main character energy fr fr π¦
β¨ SYNOPSIS β¨
#include <qb/qblog.h>
int32_t qb_log_custom_open(
qb_log_logger_fn log_fn,
qb_log_close_fn close_fn,
qb_log_reload_fn reload_fn,
void *user_data
);
β¨ DESCRIPTION β¨
lowkey iconic of this manpage to leave this section empty, and honestly? we respect the silence. π the description is giving nothing, so there's nothing to add β no extra lore, no invented behaviour, just vibes. what you see in RETURN VALUE is what you get.
β¨ RETURN VALUE β¨
-errnoβ on error. π yeah bestie, it comes back negative, that's your sign something went sideways.- value β in the inclusive range
QB_LOG_TARGET_DYNAMIC_STARTtoQB_LOG_TARGET_DYNAMIC_END. and you're gonna want to hold onto that value, because that's the ticket you pass into all the otherqb_log_*functions. it's giving backstage pass. ποΈβ¨
π SEE ALSO π
the whole friend group, assembled. go read them, they're all so valid:
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_blackbox_write_to_file(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)
π COPYRIGHT π
Copyright (c) 2017 Red Hat, Inc.
okay that's the whole page, bestie, mwah π β this was QB_LOG_CUSTOM_OPEN(3) from the libqb crew, dated 2025-09-16, tagged LIBQB. go open something custom, you absolute legend. π«ΆπΈ
π¦ 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