Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | When system calls indicate an error they return -1, not some arbitrary | 2019-06-28 | 2 | -4/+4 | |
| | | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future. | ||||
* | add missing HISTORY; based on CVS logs and release announcements | 2017-10-17 | 1 | -2/+7 | |
| | |||||
* | shm_open(), sysconf(), tcflow(), and tcsendbreak() are not permitted to be | 2017-09-10 | 2 | -4/+5 | |
| | | | | | | | cancellation points in POSIX, so change them to invoke the non-cancellation point versions of open(), close(), nanosleep(), and write() ok deraadt@ millert@ | ||||
* | If tcsetpgrp() is called by a background process and there is a | 2017-03-07 | 1 | -2/+6 | |
| | | | | | SIGTTOU handler installed without SA_RESTART set, tcsetpgrp() will return -1 and set errno to EINTR. OK deraadt@ | ||||
* | Document that SIGTTOU is sent if the process is in the background. | 2016-07-10 | 1 | -2/+12 | |
| | | | | Adapted from text from tcsetattr(3). | ||||
* | Use a Thread Information Block in both single and multi-threaded programs. | 2016-05-07 | 1 | -2/+9 | |
| | | | | | | | | | | | | | | | | | 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@ | ||||
* | for some time now mandoc has not required MLINKS to function | 2016-03-30 | 1 | -8/+1 | |
| | | | | | | | | | | | | 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 | ||||
* | typo tcgetpgrp -> tcsetpgrp | 2015-11-20 | 1 | -3/+3 | |
| | | | | ok mmcc@, yes... deraadt@ | ||||
* | delete old lint ARGSUSED comments | 2015-11-01 | 1 | -2/+1 | |
| | |||||
* | Wrap <termios.h> so that calls go direct and the symbols are all weak. | 2015-09-13 | 2 | -2/+4 | |
| | |||||
* | Prefer <fcntl.h> over <sys/fcntl.h> | 2015-09-11 | 1 | -2/+2 | |
| | |||||
* | Remove some useless casts and includes. OK deraadt@ tedu@ | 2014-12-16 | 2 | -8/+4 | |
| | |||||
* | Remove unnecessary includes now that we are no longer using select() | 2014-10-10 | 1 | -9/+2 | |
| | | | | | (or struct timeval). Instead, we should include time.h for the nanosleep() prototype and struct timespec. OK dlg@ | ||||
* | replace the use of select() for a short sleep with nanosleep(). | 2014-10-09 | 1 | -4/+5 | |
| | | | | ok deraadt@ guenther@ | ||||
* | obvious .Pa fixes; found with mandocdb(8) | 2014-01-21 | 1 | -4/+4 | |
| | |||||
* | The termios.h bits were missing from the initial commit. | 2013-12-17 | 1 | -4/+3 | |
| | |||||
* | fix build; from deraadt@ | 2013-12-17 | 1 | -1/+2 | |
| | |||||
* | Add tcgetsid() now that it is in POSIX base. Man page adapted from | 2013-12-17 | 3 | -3/+118 | |
| | | | | NetBSD (thorpej). OK kettenis@ | ||||
* | POSIX no longer requires sys/types.h be included to get the pid_t | 2013-12-12 | 2 | -6/+4 | |
| | | | | definition, and neither do our headers. OK espie@ guenther@ | ||||
* | Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze | 2013-06-05 | 4 | -14/+14 | |
| | |||||
* | add some prototypes, casts, includes, parenthesis, and whatnot to | 2013-04-17 | 2 | -2/+4 | |
| | | | | silence some warnings. | ||||
* | Have cfmakeraw() also reset VMIN and VTIME to their default values; | 2008-02-25 | 1 | -2/+3 | |
| | | | | ok kettenis miod | ||||
* | convert to new .Dd format; | 2007-05-31 | 4 | -8/+8 | |
| | |||||
* | zap rcsid | 2005-08-05 | 14 | -56/+14 | |
| | |||||
* | The value of the Bxxx defines are not guaranteed to match their value. | 2005-04-14 | 1 | -4/+8 | |
| | | | | E.g. B9600 is not guaranteed to have a value of 9600 (on OpenBSD it does). | ||||
* | ansification; checked by pval | 2003-06-11 | 13 | -44/+26 | |
| | |||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 18 | -108/+36 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | typos; | 2003-05-07 | 1 | -5/+5 | |
| | |||||
* | Fix variable name. PR2492 | 2002-03-26 | 1 | -9/+9 | |
| | |||||
* | We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. | 2002-02-19 | 1 | -7/+1 | |
| | |||||
* | Mostly punctuation fixes. | 2000-04-15 | 2 | -5/+5 | |
| | |||||
* | whoops, forgot this one | 1999-07-05 | 1 | -6/+6 | |
| | |||||
* | repairs | 1999-07-05 | 3 | -96/+123 | |
| | |||||
* | remove extra comma from .Dd arguments: "Month ##, ####" is the correct format, | 1999-07-02 | 4 | -8/+8 | |
| | | | | not "Month, ##, ####" | ||||
* | use .Tn instead of .Em for logical/bitwise OR + AND | 1999-06-05 | 1 | -11/+17 | |
| | |||||
* | or'ing -> OR'ing | 1999-05-27 | 1 | -3/+3 | |
| | |||||
* | fix comma splices involving 'however' | 1999-03-10 | 1 | -4/+4 | |
| | |||||
* | Add thread-safety to libc, so that libc_r will build (on i386 at least). | 1998-11-20 | 1 | -2/+2 | |
| | | | | | | | | | | | | | 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 | ||||
* | man page repairs; aaron@ug.cs.dal.ca | 1998-08-29 | 1 | -2/+2 | |
| | |||||
* | clear IMAXBEL bit; msaitoh | 1998-08-20 | 1 | -2/+2 | |
| | |||||
* | int cfsetspeed; tron@lyssa.owl.de | 1997-09-30 | 1 | -2/+2 | |
| | |||||
* | #if __STDC__ --> #ifdef __STDC__ | 1997-07-25 | 1 | -2/+2 | |
| | |||||
* | setpgid 2 | 1997-07-22 | 2 | -4/+4 | |
| | |||||
* | for i in `find . -name \*.[123456789] -exec grep '^.Dd ' {} /dev/null \; | \ | 1997-05-30 | 4 | -8/+8 | |
| | | | | | | | 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 | ||||
* | Remove dead code | 1996-09-15 | 1 | -1/+2 | |
| | | | | | | Remove unused variables Silence some warnings lint(1) is your friend | ||||
* | Fix RCS ids | 1996-08-19 | 19 | -111/+19 | |
| | | | | Make sure everything uses {SYS,}LIBC_SCCS properly | ||||
* | initial import of NetBSD tree | 1995-10-18 | 19 | -0/+1517 | |