summaryrefslogtreecommitdiff
path: root/lib/libc/termios
AgeCommit message (Collapse)Author
2019-12-19tcgetsid() is defined in <termios.h>, not <sys/types.h> or <unistd.h>.leot
2017-10-30Remove empty Fd. Use minus for return value. End list. Sort SEE ALSO.wiz
2017-10-25Implement tcgetwinsize() and tcsetwinsize() in libc, with accesskre
via <termios.h> (and document them.) Bump libc minor number for them. Arrange for "struct winsize" to become visible in <termios.h> Fix stty(1) so that "cols" is reported as the arg to set number of columns, and "columns" is the alias, rather than the other way around, as "cols" is what has been added to POSIX. This is to conform with updates to be included in 1003.1 issue 8 (whenever that gets published) currently available at: http://austingroupbugs.net/view.php?id=1053 (see note 3863) http://austingroupbugs.net/view.php?id=1151 (see note 3856)
2012-06-25Update old-style definitions to ANSI, remove a couple of registerabs
definitions along the way. Fixed gcc 4.1 build (thank you vax)
2010-03-22Use .In for header files instead of .Ar Pa and variations.joerg
2004-12-01Change a returned value of -1 (NO_PGID) to (uint)(pid_t)~0u >> 1 (0x7fffffff)dsl
to satisfy the SuSv3/POSIX-2004/etc requirement that "If there is no foreground process group, tcgetpgrp() shall return a value greater than 1 that does not match the process group ID of any existing process group." Should fix PR standards/28493 and zsh.
2004-05-01Mention that cfmakeraw needs an initialized termios structure.wiz
Addresses PR 25371.
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-05-10Misc. fixes from jmc@openbsd.wiz
2003-04-16Usewiz
.In header.h instead of .Fd #include \*[Lt]header.h\*[Gt] Much easier to read and write, and supported by groff for ages. Okayed by ross.
2002-10-01New sentence, new line. From Robert Elz.wiz
2002-05-26__STDC__ is always defined on NetBSD.wiz
2002-04-29Remove <sys/types.h> from synopsis, as per latest SUS/Posix specs.simonb
2002-02-07Generate <>& symbolically.ross
2002-01-09Improve wording a bit; from John Heasley in PR lib/15194.kleink
2001-09-30don't bother checking _DIAGASSERT(fd != -1), since the underlyinglukem
ioctl(2) will check it and return EBADF, and i got sick of the warnings from programs like sshd which occassionally call isatty() with bad fds.
2001-09-16Punctuation nits.wiz
2000-01-22Delint.mycroft
Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
1999-09-20back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.lukem
_DIAGASSERT() is still retained.
1999-09-16* use _DIAGASSERT() to check pointer arguments against NULL and filelukem
descriptors against -1 (as appropriate). * add actual checks which to detect stuff that would trigger_DIAGASSERT(), and attempt to return a sane error condition. * knf some code * remove some `register' decls. the first two items result in the addition of code similar to the following in various functions: _DIAGASSERT(path != NULL) #ifdef _DIAGNOSTIC if (path == NULL) { errno = EFAULT; return (-1); } #endif
1999-02-12<sys/fcntl.h> -> <fcntl.h>kleink
1998-11-15delint:christos
- argsused for len - use nanosleep instead of select to delay.
1998-08-18clear IMAXBEL bit (fixes PR#2703)msaitoh
1998-03-31Remove some unnecessary header file inclusions (<sys/tty.h> was one them!).kleink
1998-02-15Sigh, pasto.thorpej
1998-02-14Add tcgetsid.c (for thorpej).kleink
1998-02-14Add tcgetsid.3thorpej
1998-02-14Implement tcgetsid(3) - get session ID associated with a controllingthorpej
terminal, per XPG4.2.
1998-02-05add LIBRARY section to man pageperry
1998-02-05remove illegal quotes from .Dd directivesperry
1998-02-02merge lite-2perry
1997-10-01Sync prototype of cfsetspeed() with code; from Matthias Schelerkleink
<tron@lyssa.owl.de> in PR misc/4192.
1997-07-22xref setpgid(2), not nonexistent setpgid(3)mikel
1997-07-21If port provides __weak_alias(), provide an Standard C and POSIX purejtc
identifier namespace by renaming non standard functions and variables such that they have a leading underscore. The library will use those names internally. Weak aliases are used to provide the original names to the API. This is only the first part of this change. It is most of the functions which are implemented in C for all NetBSD ports. Subsequent changes are to add the same support to the remaining C files, to assembly files, and to the automagically generated assembly source used for system calls. When all of the above is done, ports with weak alias support should add a definition for __weak_alias to <sys/cdefs.h>.
1997-07-14Add missing `STANDARDS' compliance statements. As we #define _POSIX_VERSIONkleink
to 199009L, bump existing statements to 1003.1-1990.
1997-07-13Fix RCSID'schristos
1997-05-29Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree:cgd
.Dd is supposed to be invoked like: .Dd month day, year e.g. ".Dd January 25, 1989", rather than: .Dd "month day, year" which is what these pages did.
1995-06-26Strip out unneeded header filesjtc
1995-04-25Fix typo...christos
1995-04-25Initial checkin of termios directory. The code used to be injtc
gen/termios.c, but has been split out so that NetBSD users don't trip over the extensions that intrude into the POSIX namespace.