iio_gts_buil...l_time_table(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… iio_gts_build_avail_time_table ✨

okay so this is a page from the Kernel API Manual and it's all about one lil function that builds you a table. yes bestie, a table. stay with me 🫢


🌸 NAME 🌸

iio_gts_build_avail_time_table β€” builds the table of available integration times ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

int iio_gts_build_avail_time_table(struct iio_gts *gts);

πŸŽ€ ARGUMENTS πŸŽ€

  • gts β€” the Gain time scale descriptor πŸ’– (this is the main character of the whole operation, ngl)

πŸ’œ DESCRIPTION πŸ’œ

So what this does is it builds the table that can represent the available times β€” the ones that get handed back to users through the read_avail-callback. That's it, that's the vibe. πŸ“‹βœ¨


πŸ”₯ NOTE πŸ”₯

okay this part is important, do NOT skip it 😭 the space allocated for the tables must be freed using iio_gts_purge_avail_time_table once the tables are no longer needed. no leaving it lying around, that's not the move πŸ’€

⭐ RETURN ⭐

0 on success. that's the whole list, it's giving minimal and iconic πŸ‘‘


🌈 SEE ALSO 🌈

Kernel file: ./drivers/iio/industrialio-gts-helper.c

and the whole friend group 🫢:


anyway that's the page πŸ’… it lives over in ./drivers/iio, stamped October 2026, and it's part of the Kernel API Manual β€” go build those tables and remember to free them, mwah πŸ§šπŸ’–

πŸ“¦ where this page comes from