joerg
1907ec3a61
Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
...
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
2012-06-03 21:42:44 +00:00
joerg
42e529577c
Add void for ttyslot prototype.
2012-05-31 23:11:35 +00:00
wiz
3f4e964f9f
Sort errors.
2011-04-25 22:38:34 +00:00
ad
2a7116daf3
ttyname_r is another of the strange functions that returns its error code
...
instead of setting errno.
2008-06-25 11:47:29 +00:00
apb
9eaab5ee00
Mention use of /var/run/dev.db, and add .Xr dev_mkdb 8 .
...
Could somebody update the HISTORY?
2008-01-30 19:24:59 +00:00
wiz
72a37764e0
Punctuation nits; grammar fix.
2005-09-26 10:54:46 +00:00
christos
1c208b995b
ttyname_r returns int.
2005-09-25 20:43:54 +00:00
christos
cc85a7cfd9
add getenv_r and ttyname_r
2005-09-25 20:08:01 +00:00
wiz
74e1eaa411
Fix some nits, and bump date for previous.
2004-11-11 00:57:57 +00:00
christos
3c3eb5801d
It is silly to have to enumerate all the ptys in /etc/ttys in order to
...
get a valid ttyslot for them. Instead if and entry is not found and we
are a pty, allocate the n + 1 + minor(pty) slot.
2004-11-11 00:01:38 +00:00
agc
eb7c1594f1
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
wiz
472351e13d
Use
...
.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.
2003-04-16 13:34:34 +00:00
wiz
b214676aec
New sentence, new line. From Robert Elz.
2002-10-01 16:48:34 +00:00
ross
814f296b77
Generate <>& symbolically.
2002-02-07 07:00:09 +00:00
wiz
09a03cd887
Standardize section headers, sort sections, sort SEE ALSO, punctuation
...
and misc. fixes.
2001-09-16 02:57:03 +00:00
wiz
a0dbe70b74
Boring whitespace fixes.
2001-09-16 02:30:23 +00:00
kleink
df15a294f2
Dv vs. Va police.
1999-02-16 19:36:52 +00:00
kleink
e344bda27d
Document the return values of isatty(3) (`true' resp. `false' aren't valid
...
return values), and add an ERRORS section.
1998-06-06 19:50:38 +00:00
kleink
f33fd3125d
Prototype has moved: add inclusion of <stdlib.h> to the synopsis of ttyslot().
1998-06-01 20:12:36 +00:00
perry
312aca536f
add LIBRARY section to man page
1998-02-05 18:45:17 +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
cgd
9060ff0dc7
merge with 4.4-Lite, keeping local changes. clean up Ids
1995-02-27 05:50:11 +00:00
mycroft
0e9c8e4524
Add RCS identifiers.
1993-07-30 08:34:38 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00