RKNEXT(3)
β¨ RKNEXT(3) β¨
okay so bestie, welcome to the RkNext page π this one lives in the Library Functions Manual and it's literally the tiniest lil glow-up function in the whole candidate roster. no cap.
π NAME π
RkNext β set the next candidate as the current candidate π¦
πΈ SYNOPSIS πΈ
#include <canna/RK.h>
int RkNext(cxnum)
int cxnum;
she's giving old-school K&R energy and we're obsessed π
π DESCRIPTION π
okay so here's the vibe: RkNext sets the next candidate as the current candidate β¨ that's it, that's the whole job, main character behavior fr fr.
and then β plot twist β if the current candidate is already the last candidate? she doesn't just stop. she moves to the first candidate π so it wraps around. a lil circular moment. iconic.
π« RETURN VALUE π«
if it works, this function moves the current candidate in the context and returns the current candidate number after the move π like, the new number, post-glow-up.
but bestie, listen π it returns 0 β without doing anything β if it's been run in a nonconversion mode context. so like, nothing happens, zero, nada, and it just hands you a 0 π don't @ me, that's just the deal.
quick reminder: wrap-around is real. last candidate β‘οΈ first candidate. no error, no drama, just vibes π
and that's the whole page, bestie!! π«Ά the footer's just echoing her name back β RKNEXT(3) β with no source, version or date attached, so consider this your cute lil sign-off: RKNEXT(3), that's a wrap ππβ¨
π¦ where this page comes from
- debian bookworm: libcanna1g-dev 3.7p3-20 Β· ISC
- debian trixie: libcanna1g-dev 3.7p3-25 Β· ISC
- ubuntu jammy: libcanna1g-dev 3.7p3-17 Β· ISC
- ubuntu noble: libcanna1g-dev 3.7p3-20 Β· ISC
- ubuntu questing: libcanna1g-dev 3.7p3-26
- ubuntu resolute: libcanna1g-dev 3.7p3-26build1 Β· ISC
- ubuntu stonking: libcanna1g-dev 3.7p3-29 Β· ISC
- Copyright 1994 NEC Corporation, Tokyo, Japan
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms