summaryrefslogtreecommitdiffstats
path: root/usr.bin/keylogin
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-01-30 11:46:25 +0000
committertjr <tjr@FreeBSD.org>2003-01-30 11:46:25 +0000
commita3bd15f559697a76e00eb7434a518999eef2acd5 (patch)
tree38634c3fccf7d9ff85bf2bca2d9308458cdc2302 /usr.bin/keylogin
parentbcf1d466fec6d23dea7b7c1d0f0abe5707c727e5 (diff)
downloadFreeBSD-src-a3bd15f559697a76e00eb7434a518999eef2acd5.zip
FreeBSD-src-a3bd15f559697a76e00eb7434a518999eef2acd5.tar.gz
Lock stdin on entry, unlock on return, use __sgetc() instead of getchar()
to avoid locking the stream for each character and to avoid input being scattered among multiple threads.
Diffstat (limited to 'usr.bin/keylogin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud