QB_LOG_FILE_REOPEN(3)

πŸ’– NAME πŸ’–

okay bestie, welcome to qb_log_file_reopen(3) from the libqb Programmer's Manual. It does one thing and it's iconic: Open a new log file for an existing target. πŸ’…


✨ SYNOPSIS ✨

#include <qb/qblog.h>

int32_t qb_log_file_reopen(
    int32_t       t,         /* target */
    const char   *filename   /* may be NULL to use existing file name*/
);

πŸŽ€ PARAMS πŸŽ€

  • t β€” target. That's the target, bestie. 🎯
  • filename β€” may be NULL to use existing file name. So NULL means "keep the file name you already had", fr fr. 🫢

πŸ’… DESCRIPTION πŸ’…

ngl, the original DESCRIPTION section is empty β€” like, no prose, no tea, no extra details. So we're not inventing any. Blank it is. πŸ™ˆ


⭐ RETURN VALUE ⭐

  • -errno on error. That's the whole mood: if it errors, you get -errno. 😭

πŸ¦‹ SEE ALSO πŸ¦‹

the whole squad of related pages:


Copyright (c) 2017 Red Hat, Inc.


Mwah πŸ’‹ this page came from LIBQB, dated 2025-09-16, and its manual title is QB_LOG_FILE_REOPEN(3). Stay logged, bestie 🫢✨

πŸ“¦ where this page comes from