ISET(3pub)
π ISET(3pub) π
okay bestie so this one is from the C Programmer's Manual, section 3pub, and it's giving "library documentation but make it a group chat" π
πΈ NAME πΈ
iset_create, iset_destroy, iset_copy, iset_is_empty, iset_add, iset_add_range, iset_remove, iset_remove_range, iset_clear, iset_contains, iset_union, iset_diff, iset_isect, iset_range, iset_nth_range β literally a whole squad whose job is to manipulate sets of integers β¨
π¦ SYNOPSIS π¦
#include <publib.h>
Iset *iset_create(void);
void iset_destroy(Iset *is);
Iset *iset_copy(const Iset *is);
int iset_is_empty(const Iset *is);
int iset_add(Iset *is, long number);
int iset_add_range(Iset *is, long number1, long number2);
int iset_remove(Iset *is, long number);
int iset_remove_range(Iset *is, long number1, long number2);
void iset_clear(Iset *is);
int iset_contains(const Iset *is, long number);
int iset_union(Iset *is1, const Iset *is2);
int iset_diff(Iset *is1, const Iset *is2);
int iset_isect(Iset *is1, const Iset *is2);
void iset_range(const Iset *is, long *lowest, long *highest);
int iset_nth_range(const Iset *is, long n, long *lo, long *hi);
π DESCRIPTION π
These functions operate on sets of integers (of type long). π
and then the actual documentation justβ¦ peaces out?? π like, the manpage author said:
"You clever people will know how to use them without my help, which saves me from writing a manual page."
ngl that is the most unbothered energy imaginable and I kind of respect it π
so yeah β these are sets. of longs. you, being the clever icon you are, already know what to do with them. no cap, that's the entire description. slay, I guess π
π SEE ALSO π
π AUTHOR π
Lars Wirzenius (lars.wirzenius@helsinki.fi) π«Ά
this page is part of Publib, living in the C Programmer's Manual under section 3pub (so, ISET(3pub), iykyk). no date on this one, she's timeless fr fr β¨ππ¦
π¦ where this page comes from
- debian bookworm: publib-dev 0.40-3+b1 Β· BSD-2-Clause
- debian trixie: publib-dev 0.40-4 Β· BSD-2-Clause
- ubuntu jammy: publib-dev 0.40-3build1 Β· BSD-2-Clause
- ubuntu noble: publib-dev 0.40-3build1 Β· BSD-2-Clause
- ubuntu questing: publib-dev 0.40-4
- ubuntu resolute: publib-dev 0.40-4build1 Β· BSD-2-Clause
- ubuntu stonking: publib-dev 0.40-4build1 Β· BSD-2-Clause
- Copyright (c) 1994-2006 Lars Wirzenius. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms