simonb
eb0846961e
Remove <sys/types.h> from synopsis, as per latest SUS/Posix specs.
2002-04-29 01:41:43 +00:00
ross
814f296b77
Generate <>& symbolically.
2002-02-07 07:00:09 +00:00
kleink
52544dc3f4
Improve wording a bit; from John Heasley in PR lib/15194.
2002-01-09 22:17:34 +00:00
lukem
073a7a6ef5
don't bother checking _DIAGASSERT(fd != -1), since the underlying
...
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-30 23:25:38 +00:00
wiz
d1a50f6e49
Punctuation nits.
2001-09-16 01:35:41 +00:00
mycroft
605490369c
Delint.
...
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.
2000-01-22 22:19:07 +00:00
lukem
d896261208
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
...
_DIAGASSERT() is still retained.
1999-09-20 04:38:56 +00:00
lukem
b48252f365
* use _DIAGASSERT() to check pointer arguments against NULL and file
...
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-09-16 11:44:54 +00:00
kleink
b75d68301e
<sys/fcntl.h> -> <fcntl.h>
1999-02-12 15:04:00 +00:00
christos
621e32573c
delint:
...
- argsused for len
- use nanosleep instead of select to delay.
1998-11-15 17:11:48 +00:00
msaitoh
6153074aef
clear IMAXBEL bit (fixes PR#2703)
1998-08-18 07:51:45 +00:00
kleink
e43f54f872
Remove some unnecessary header file inclusions (<sys/tty.h> was one them!).
1998-03-31 09:50:01 +00:00
thorpej
82c0730290
Sigh, pasto.
1998-02-15 02:41:40 +00:00
kleink
a2cd9cfb2f
Add tcgetsid.c (for thorpej).
1998-02-14 20:20:44 +00:00
thorpej
a83de03bf8
Add tcgetsid.3
1998-02-14 01:37:06 +00:00
thorpej
722a21c4ab
Implement tcgetsid(3) - get session ID associated with a controlling
...
terminal, per XPG4.2.
1998-02-14 01:36:14 +00:00
perry
312aca536f
add LIBRARY section to man page
1998-02-05 18:45:17 +00:00
perry
dc1e66a8e4
remove illegal quotes from .Dd directives
1998-02-05 07:28:01 +00:00
perry
74e3014eb4
merge lite-2
1998-02-02 05:49:52 +00:00
kleink
8087341457
Sync prototype of cfsetspeed() with code; from Matthias Scheler
...
<tron@lyssa.owl.de> in PR misc/4192.
1997-10-01 16:39:56 +00:00
mikel
43cdfeec3e
xref setpgid(2), not nonexistent setpgid(3)
1997-07-22 05:59:58 +00:00
jtc
43fa6fe319
If port provides __weak_alias(), provide an Standard C and POSIX pure
...
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-21 14:06:24 +00:00
kleink
c213a3af8b
Add missing `STANDARDS' compliance statements. As we #define _POSIX_VERSION
...
to 199009L, bump existing statements to 1003.1-1990.
1997-07-14 23:19:39 +00:00
christos
3ad08ca2f9
Fix RCSID's
1997-07-13 20:25:30 +00:00
cgd
c917dfb5b2
Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree:
...
.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.
1997-05-29 01:48:05 +00:00
jtc
89bbe08617
Strip out unneeded header files
1995-06-26 23:04:45 +00:00
christos
348d202923
Fix typo...
1995-04-25 21:22:17 +00:00
jtc
5f11a56ca9
Initial checkin of termios directory. The code used to be in
...
gen/termios.c, but has been split out so that NetBSD users don't trip
over the extensions that intrude into the POSIX namespace.
1995-04-25 00:04:21 +00:00