convert_t(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

convert_t(9) πŸ¦‹βœ¨

okay so bestie, welcome to the Kernel API Manual page for convert_t(9) β€” this is the little function that handles the whole temperature conversion and read situation, and we're gonna get into it πŸ’…


πŸ’– NAME πŸ’–

Query the device for temperature conversion and read β€” that's the whole vibe, no cap.


🫢 SYNOPSIS 🫢

int convert_t (struct w1_slave *sl , struct therm_info *info );

literally that's the signature, keep it exactly like that πŸŽ€


🌸 ARGUMENTS 🌸

  • sl β€” pointer to the slave to read πŸ¦‹
  • info β€” pointer to a structure to store the read results 🌸

πŸ”₯ RETURN πŸ”₯

0 if success, -kernel error code otherwise 😭

bestie, note the exact -kernel wording β€” we do not be editing that.

πŸŽ€ SEE ALSO πŸŽ€

the whole squad, assembled πŸ‘‘


okay bye bestie πŸ’… huge cute sign-off to the footer source/version line: ./drivers/w1/slaves, October 2026, and convert_t(9) 🌈✨

πŸ“¦ where this page comes from