tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: flock(2): locking against itself?



On Tue, Apr 18, 2023 at 06:59:09PM -0400, Mouse wrote:
> 
> While writing this mail, it occurs to me that a mode wherein everything
> operates same as now, except that output, instead of being pushed to
> the tty with fwrite() or write() or writev() or whatever, is just
> passed to a callback.  That would address my use cases with a much less
> intrusive change.
> 

Have a look at cputchar.c - that is where all the output happens.

-- 
Brett Lymn
--
Sent from my NetBSD device.

"We are were wolves",
"You mean werewolves?",
"No we were wolves, now we are something else entirely",
"Oh"


Home | Main Index | Thread Index | Old Index