summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_subr.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change a bunch of (<blah> *)0 to NULL.krw2016-03-141-6/+6
| | | | ok beck@ deraadt@
* Remove some includes include-what-you-use claims don'tjsg2015-03-141-2/+1
| | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
* convert bcopy to memcpy. ok millerttedu2014-12-101-3/+3
|
* pass size argument to free()deraadt2014-11-031-3/+3
| | | | ok doug tedu
* bzero -> memset. for the speeds.tedu2014-07-131-2/+2
|
* add a size argument to free. will be used soon, but for now default to 0.tedu2014-07-121-3/+3
| | | | after discussions with beck deraadt kettenis.
* use explicit_bzero for stack and freed variablestedu2014-07-091-3/+3
|
* A couple of trivial spacing and comment fixes.nicm2012-05-241-5/+5
| | | | ok miod blambert
* unputc should clear the character removed in the buffers like getc.nicm2012-05-241-1/+3
| | | | ok matthew miod deraadt
* When clearing quote bits in getc and q_to_b, clear from the c_cf (thenicm2012-05-241-3/+3
| | | | | | first, that is being removed) rather than c_cl (the last). ok matthew miod deraadt
* Kill unused cinit(), and skip some diagnostic printf if optionmiod2010-11-111-12/+3
| | | | DIAGNOSTIC is not set. ok deraadt@
* >15 year old buffer-read-1-byte-too-far in clrbits() [code I wrote, yeah]deraadt2009-11-131-4/+6
| | | | | | with a subtle change to make it more clear (and more cache friendly) netbsd pr 42312, found by tlambert@apple.com ok miod
* clalloc() can't fail, so there's no need to handle failure cases.blambert2009-07-191-15/+11
| | | | | | | | Change to void function. Also, no need to have global tty stats pointer, so just return it from clalloc, as the caller frees it immediately anyway. ok miod@
* purge memory in the tty clist rings as we advance; tested by a fewderaadt2008-03-311-3/+7
|
* Use M_ZERO in a few more places to shave bytes from the kernel.art2007-09-071-7/+5
| | | | eyeballed and ok dlg@
* ansi/deregister. No binary change.jsg2005-12-211-50/+23
|
* remove terms 3 and 4 of some of my licencesderaadt2003-06-021-6/+1
|
* First round of __P removal in sysmillert2002-03-141-3/+3
|
* QBITS is always defined, no point in having all those cofusing ifdefs.art2001-09-281-48/+3
|
* Redundant prototypes.art2001-09-281-5/+1
|
* Get rid of REAL_CLISTS. It was never implemented and the tentacles areart2001-07-051-4/+1
| | | | everywhhere.
* KNFderaadt2001-06-221-3/+3
|
* No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)ho2001-05-161-8/+1
|
* spellingtodd2001-01-251-2/+2
|
* replace MALLOC/FREE w/ malloc/free for non-constant-sized memory allocations; art@ okmickey2000-09-271-6/+6
|
* clear rings before freeing themderaadt2000-08-041-3/+7
|
* KNFderaadt2000-08-041-7/+7
|
* a teeny bit more carederaadt1996-10-071-1/+2
|
* clear quotes not buf; from hbriceno@lcs.mit.eduderaadt1996-10-071-3/+3
|
* catq: must spltty before playingderaadt1996-06-061-2/+9
|
* catq() optimizations; if to queue is empty, swapping clist structures is fasterderaadt1996-06-051-1/+16
|
* From NetBSD: 960217 mergeniklas1996-03-031-7/+13
|
* initial import of NetBSD treederaadt1995-10-181-0/+549