summaryrefslogtreecommitdiff
path: root/libexec/getty/subr.c
AgeCommit message (Collapse)Author
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-07-03KNFTheo de Raadt
2002-05-27unsigned to unsigned intTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-19clean & KNFTheo de Raadt
2001-07-08-WallTheo de Raadt
2001-06-11strncpy vs strlcpy, some strlen missuse.Michael Shalayeff
some other related minor cleanups, and spaces. millert@ ok
2001-01-28$OpenBSD$Niklas Hallqvist
2000-10-06use fd_set instead of intTheo de Raadt
2000-09-08Convert this strncat() to strlcat() and avoid one-byte oflow; millert@ okAaron Campbell
1997-04-06clean -WallTheo de Raadt
1996-12-17Add traditional handling of all upper-case inputThorsten Lockert
1996-12-16Implement more tty flags for better portability from other systems:Thorsten Lockert
XCASE - canonical input/output processing IUCLC - translate uppercase to lowercase on input OLCUC - translate lowercase to uppercase on output OCRNL - translate carriage return to newline on output ONOCR - do not output carriage return at column 0 ONLRET - newline performs carriage return function In addition the tty compatibility interface supports LCASE properly. Look at termios(4) for a more complete description of the above flags.
1996-12-16strncat like THISTheo de Raadt
1996-12-16yet another strncat botchTheo de Raadt
1996-08-31buf oflowTheo de Raadt
1996-08-07expand hostname to 48 chars; pointed out by msaitoh@spa.is.uec.ac.jp, netbsd ↵Theo de Raadt
pr#2676
1995-10-18initial import of NetBSD treeTheo de Raadt