RKPREV(3)
π RKPREV(3) π
okay bestie, welcome to the Library Functions Manual corner of the internet, where we talk about RkPrev β the function that sets the previous candidate as the current candidate. she's giving time travel but make it candidates. π¦
β¨ NAME β¨
RkPrev β set the previous candidate as the current candidate π
πΈ SYNOPSIS πΈ
#include <canna/RK.h>
int RkPrev(cxnum)
int cxnum;
π DESCRIPTION π
so here's the tea, bestie: RkPrev sets the previous candidate as the current candidate. iconic behaviour, no notes. π
but wait β there's a plot twist. if the current candidate is already the first candidate, she doesn't just give up and cry about it. nope. she wraps all the way around and moves to the last candidate. circular queen behaviour fr fr. π₯
β RETURN VALUE β
if it goes well, this function moves the current candidate in the context and hands you back the current candidate number after the move. you get receipts, periodt. π
and if it's been run in a nonconversion mode context? she returns 0 and does absolutely nothing. no moving, no vibes, just a polite little 0. π don't take it personally, it's just not that kind of context.
π lowkey reminder: 0 here isn't a candidate number, it's the "i didn't do anything" signal. context matters, iykyk. π
and that's the whole page, bestie β signed off from the Library Functions Manual, RKPREV(3), in all her glory. go forth and move those candidates backwards. πβ¨π«Ά
π¦ 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