Unlike ttymsg(), ttymsgat() does not attempt to open a device. It will send its message to the device represented by the by the fd argument. The ttymsg() function now opens the provided device and passes it into ttymsgat() for processing.
Details
Details
- Reviewers
markj
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
usr.bin/wall/ttymsg.c | ||
---|---|---|
176 | There's no real purpose in closing an fd right before exiting, I wouldn't bother with it. |