QB_UTIL_S..._SPLIT_CTL(3)

πŸ’– qb_util_stopwatch_split_ctl β€” libqb Programmer's Manual πŸ’–

okay so bestie, welcome to the libqb corner of the manual, section 3, and today's main character is qb_util_stopwatch_split_ctl. yes the name is a mouthful, no we are not changing it, it's iconic. πŸŽ€


✨ SYNOPSIS ✨

#include <qb/qbutil.h>

int32_t qb_util_stopwatch_split_ctl(
    qb_util_stopwatch_t   *sw,          /* the stopwatch */
    uint32_t               max_splits,  /* maximum number of time splits */
    uint32_t               options      /* (0 or QB_UTIL_SW_OVERWRITE ) */
);

like, she takes a stopwatch, a max_splits, and some options, and she hands you back an int32_t. periodt. πŸ’…


🌸 PARAMS 🌸

  • sw β€” the stopwatch 🫢 literally the stopwatch, that's the whole vibe
  • max_splits β€” maximum number of time splits
  • options β€” (0 or QB_UTIL_SW_OVERWRITE )

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so bestie… this section is empty in the original. like, nothing. no cap. she said "no thoughts, head empty" πŸ™ˆβœ¨ so I'm not gonna make stuff up β€” the facts stay the facts.


⭐ RETURN VALUE ⭐

  • 0 β€” on success πŸŽ‰ slay, it worked
  • -errno β€” on failure 😭 it's giving error, check your errno iykyk

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, all invited to the group chat πŸ’œ


Copyright (C) 2010-2020 Red Hat, Inc.

and that's the whole page bestie, mwah πŸ’‹ this was libqb, dated 2025-09-16, page QB_UTIL_S..._SPLIT_CTL(3) β€” go forth and split those timestamps, you absolute icon πŸ§šπŸ’–

πŸ“¦ where this page comes from