ssam_try_set_controller(9)
π NAME π
Bestie, welcome to ssam_try_set_controller(9) β yes, that's the page title, and it's living its best life in the Kernel API Manual π
β¨.
ssam_try_set_controller β Try to set the main controller reference. π
β¨ SYNOPSIS β¨
Okay so here's the exact signature, no edits, no vibes-based rewrites:
int ssam_try_set_controller (struct ssam_controller *ctrl );
π«Ά ARGUMENTS π«Ά
ctrlβ The controller to which the reference should point. π
πΈ DESCRIPTION πΈ
Set the main controller reference to the given pointer if the reference hasn't been set already. That's the whole assignment, bestie β lowkey simple, highkey important. β¨
π₯ RETURN π₯
Returns zero on success or -EEXIST if the reference has already been set. So yeah, success is 0, and "already got one, bestie" is -EEXIST ππ
π¦ SEE ALSO π¦
- Kernel file
./drivers/platform/surface/aggregator/core.cπ ssam_get_controller(9)ssam_clear_controller(9)ssam_client_link(9)ssam_client_bind(9)
Thatβs the tea, bestie ππ β the source/version line says ./drivers/platform/surface/agg..., itβs dated October 2026, and the page signs off as ssam_try_set_controller(9) π«Άβ¨
π¦ 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