QB_UTIL_ST...SPLIT_LAST(3)

πŸ’– qb_util_stopwatch_split_last β€” libqb Programmer's Manual, section 3 πŸŽ€

okay bestie, so this is a page from the libqb Programmer's Manual (section 3, the library-function girlies) and we're talking about one very specific little function. let's get into it ✨


✨ NAME ✨

qb_util_stopwatch_split_last β€” she tells you the last split index that qb_util_stopwatch_time_split_get() is gonna be allowed to use. that's it. that's the whole job. πŸ’…


🌸 SYNOPSIS 🌸

#include <qb/qbutil.h>

uint32_t qb_util_stopwatch_split_last(
    qb_util_stopwatch_t   *sw   /* the stopwatch */
);

πŸ¦‹ PARAMS πŸ¦‹

  • sw β€” the stopwatch. like, the actual stopwatch object you're asking about. give her to me 🫢

πŸ‘‘ DESCRIPTION πŸ‘‘

so um. there is genuinely no description text here. like the original page just... has the heading and then nothing. no cap, it's giving mystery. the vibe is: the name and the return value already said everything, so the manpage author said "periodt" and moved on. πŸ™ˆ


⭐ RETURN VALUE ⭐

the last entry index πŸ’–


πŸ’œ NOTE πŸ’œ

this is zero based, bestie. so index 0 is the first one, not 1. do not come for me with your off-by-one shenanigans, i'm warning you 😭


🌈 SEE ALSO 🌈

the whole friend group, fr fr:


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


and that's the whole page, my love πŸ’œ this came out of the libqb corner of the world on 2025-09-16, section 3, and honestly? iconic. go forth and index responsibly. mwah πŸ’…βœ¨

πŸ“¦ where this page comes from