CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/06/23 20:39:36
Modified files:
usr.bin/write : write.c
Log message:
write: some small cleanup
- pledge on start, restricting to stdio later on
- annotate done as __dead and remove unreachable return in main
- use common code to remove the /dev/ prefix from a device name
- wrap the PUTC macro into do {} while (0) to avoid extra empty statement
- use strftime() instead of using an offset into the ctime() string
- pass ttyl as size_t not int in search_utmp() to match the variable
>From espie@