stmmac_get_time(9)
π stmmac_get_time(9) β from the Kernel API Manual, bestie π«Ά
okay so welcome to the Kernel API Manual page for stmmac_get_time(9), and honestly? she's a short one, but she's iconic β¨
πΈ NAME πΈ
stmmac_get_time β
and that's it. that's the name section. the description after the dash is literally empty in the original, no cap π so i'm not gonna invent one for you. we love a mysterious queen π
β¨ SYNOPSIS β¨
int stmmac_get_time (struct ptp_clock_info *ptp , struct timespec64 *ts );
so she takes two pointers and hands you back an int. that's the whole vibe check π¦
π ARGUMENTS π
ptpβ pointer to aptp_clock_infostructure. like, this is the clock-info bestie she's working with π«Άtsβ pointer that holds the time/result. this is where the answer goes to live π
π₯ DESCRIPTION π₯
so what does she do? this function will read the current time from the hardware clock and store it in ts. that's it. that's the whole job, and she does it flawlessly π
literally the "just read the clock and put it in the pointer" of it all. no drama, no side quests, just clock in, clock out β°β¨
π SEE ALSO π
the kernel file that lives at ./drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c β go read it, it's giving main character energy π
and her whole friend group, fr fr:
stmmac_adjust_freq(9)stmmac_adjust_time(9)stmmac_set_time(9)stmmac_get_syncdevicetime(9)stmmac_ptp_register(9)stmmac_ptp_unregister(9)
ngl the source for this one is ./drivers/net/ethernet/stmicro/... and she's dated October 2026 β so mark your calendars bestie ποΈπ that's the cute little sign-off, mwah π π§ββοΈ
π¦ 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