ARIF_SELECT_PAGE(3)

πŸ“¦ version 0.3.0, in alpine 3.24

πŸŽ€ NAME πŸŽ€

arif_select_page β€” select the page of candidates. This is the ARIF User Manual page for ARIF_SELECT_PAGE(3), bestie πŸ’–

🌸 SYNOPSIS 🌸

#include <arif.h>

int
arif_select_page (
    struct arif_ctx *ctx,
    int              idx
);

πŸ’– DESCRIPTION πŸ’–

okay so arif_select_page() changes the current page of candidates in the input context ctx to the page referred to by idx. literally that’s the whole vibe check ✨

The argument idx can either be a specific page number β€” starting at 1 β€” or a relative page: -1 for the previous page, and 0 for the next page. iykyk πŸ‘‘

If the page does not exist, this function has no effect. just vibes and nothing else, periodt πŸ’…

⭐ RETURN VALUES ⭐

Returns the page number if the given page exists, or -1 if otherwise. no cap, that’s it 🫢

πŸ¦‹ NOTES πŸ¦‹

🌸 Default page 🌸

If the arif_select_page() function is not yet called after a query, the first page is the current page. that’s the default, bestie πŸ’–

legal tea time β˜• β€” here are the official deets:

Copyright (C) 2023 CismonX <admin@cismon.net>

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.

You should have received a copy of the license along with this document. If not, see https://www.gnu.org/licenses/fdl-1.3.html.

🌈 SEE ALSO 🌈


this page is from ARIF User Manual version 0.1.0, dated Jan 02, 2023 πŸ’–βœ¨

πŸ“¦ where this page comes from