class_dev_iter_exit(9)
π class_dev_iter_exit(9) β Kernel API Manual, section 9 π
okay so bestie, welcome to this tiny but important page. Itβs short, itβs cute, and itβs lowkey a βdonβt forget the finish stepβ situation. π
πΈ NAME πΈ
class_dev_iter_exit β finish iteration β¨
π¦ SYNOPSIS π¦
void class_dev_iter_exit (struct class_dev_iter *iter );
π ARGUMENTS π
iterβ the class iterator to finish π«
π₯ DESCRIPTION π₯
Finish an iteration. Thatβs the whole vibe. π
Always call this function after iteration is complete β whether the iteration ran till the end or not. Like, yes, even if you bailed early, bestie: still call it. π
π SEE ALSO π
The SEE ALSO section points at kernel file ./drivers/base/class.c plus these absolute legends:
class_to_subsys(9)class_create(9)class_destroy(9)class_dev_iter_init(9)class_dev_iter_next(9)class_for_each_device(9)class_find_device(9)class_compat_register(9)class_compat_unregister(9)class_compat_create_link(9)class_compat_remove_link(9)class_is_registered(9)
signing off from source/version ./drivers/base, dated October 2026 π«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms