summaryrefslogtreecommitdiff
path: root/lib/libc/termios
AgeCommit message (Collapse)Author
2017-03-07If tcsetpgrp() is called by a background process and there is aTodd C. Miller
SIGTTOU handler installed without SA_RESTART set, tcsetpgrp() will return -1 and set errno to EINTR. OK deraadt@
2016-07-10Document that SIGTTOU is sent if the process is in the background.Todd C. Miller
Adapted from text from tcsetattr(3).
2016-05-07Use a Thread Information Block in both single and multi-threaded programs.Philip Guenther
This stores errno, the cancelation flags, and related bits for each thread and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable! Make libpthread dlopen'able by moving the cancelation wrappers into libc and doing locking and fork/errno handling via callbacks that libpthread registers when it first initializes. 'errno' *must* be declared via <errno.h> now! Clean up libpthread's symbol exports like libc. On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec. Testing by various, particularly sthen@ and patrick@ ok kettenis@
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
2015-11-20typo tcgetpgrp -> tcsetpgrptb
ok mmcc@, yes... deraadt@
2015-11-01delete old lint ARGSUSED commentsPhilip Guenther
2015-09-13Wrap <termios.h> so that calls go direct and the symbols are all weak.Philip Guenther
2015-09-11Prefer <fcntl.h> over <sys/fcntl.h>Philip Guenther
2014-12-16Remove some useless casts and includes. OK deraadt@ tedu@Todd C. Miller
2014-10-10Remove unnecessary includes now that we are no longer using select()Todd C. Miller
(or struct timeval). Instead, we should include time.h for the nanosleep() prototype and struct timespec. OK dlg@
2014-10-09replace the use of select() for a short sleep with nanosleep().David Gwynne
ok deraadt@ guenther@
2014-01-21obvious .Pa fixes; found with mandocdb(8)Ingo Schwarze
2013-12-17The termios.h bits were missing from the initial commit.Todd C. Miller
2013-12-17fix build; from deraadt@Christian Weisgerber
2013-12-17Add tcgetsid() now that it is in POSIX base. Man page adapted fromTodd C. Miller
NetBSD (thorpej). OK kettenis@
2013-12-12POSIX no longer requires sys/types.h be included to get the pid_tTodd C. Miller
definition, and neither do our headers. OK espie@ guenther@
2013-06-05Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzeTed Unangst
2013-04-17add some prototypes, casts, includes, parenthesis, and whatnot toTed Unangst
silence some warnings.
2008-02-25Have cfmakeraw() also reset VMIN and VTIME to their default values;Theo de Raadt
ok kettenis miod
2007-05-31convert to new .Dd format;Jason McIntyre
2005-08-05zap rcsidMarc Espie
2005-04-14The value of the Bxxx defines are not guaranteed to match their value.Todd C. Miller
E.g. B9600 is not guaranteed to have a value of 9600 (on OpenBSD it does).
2003-06-11ansification; checked by pvalTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-07typos;Jason McIntyre
2002-03-26Fix variable name. PR2492Hugh Graham
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2000-04-15Mostly punctuation fixes.Aaron Campbell
1999-07-05whoops, forgot this oneAaron Campbell
1999-07-05repairsAaron Campbell
1999-07-02remove extra comma from .Dd arguments: "Month ##, ####" is the correct format,Aaron Campbell
not "Month, ##, ####"
1999-06-05use .Tn instead of .Em for logical/bitwise OR + ANDAaron Campbell
1999-05-27or'ing -> OR'ingAaron Campbell
1999-03-10fix comma splices involving 'however'Paul Janzen
1998-11-20Add thread-safety to libc, so that libc_r will build (on i386 at least).David Leonard
All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO
1998-08-29man page repairs; aaron@ug.cs.dal.caTheo de Raadt
1998-08-20clear IMAXBEL bit; msaitohTheo de Raadt
1997-09-30int cfsetspeed; tron@lyssa.owl.deTheo de Raadt
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-22setpgid 2Theo de Raadt
1997-05-30for i in `find . -name \*.[123456789] -exec grep '^.Dd ' {} /dev/null \; | \Theo de Raadt
grep '"' | cut -d':' -f1`; do sed -e '/^.Dd /s/"//g' -e '/^.Dd /s/\(^.Dd [A-Za-z]*\) \(.*\)$/\1, \2/' <$i >x cat x > $i done
1996-09-15Remove dead codeThorsten Lockert
Remove unused variables Silence some warnings lint(1) is your friend
1996-08-19Fix RCS idsThorsten Lockert
Make sure everything uses {SYS,}LIBC_SCCS properly
1995-10-18initial import of NetBSD treeTheo de Raadt