summaryrefslogtreecommitdiffstats
path: root/sys/libkern/gets.c
Commit message (Collapse)AuthorAgeFilesLines
* Ignore spurious '\0' first character read on a serial console.ru2006-01-141-0/+2
| | | | | This allows me to "boot -a" over a serial console. Tested on several machines.
* We do want to print '\n'/'\r'.pjd2005-02-031-0/+1
| | | | Pointed out by: stefanf
* 'c' cannot be -1.pjd2005-02-031-1/+0
| | | | Submitted by: stefanf
* - Move gets() function to libkern (I want to use it outside vfs_mount.c).pjd2005-02-031-0/+67
- Add buffer size limitations (overflow will not be possible anymore). - Add 'visible' option, which will allow for passphrase reading in the future. - Remove special treatment of '@' and '#', those two are only confusing. Discussed with: rwatson MFC after: 2 weeks
OpenPOWER on IntegriCloud