summaryrefslogtreecommitdiff
path: root/src/cmd/netstack/util.h
AgeCommit message (Collapse)Author
2024-05-04user/ntpfs: implement a basic ntp clientdzwdz
time() will probably end up doing io. That sounded bad at first, but Plan 9 does that too (see /sys/src/libc/9sys/nsec.c), so it's probably fine. I might need better service management soon. Also, dunno what it should return before it makes contact with NTP. I could implement RTC support, but eh. Doesn't feel that necessary. I'll also need to remember how the hell threading works, so it can talk with the ntp daemon on another thread.
2023-08-30style: get rid of eprintfdzwdz
2023-08-14reorganization: first stepsdzwdz