<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/gen/ttyname.3, branch release/6.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2005-11-03T00:35:26+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2005-11-03T00:35:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3640cb54210edbb7edbf1b12ef0127ecfcea967d'/>
<id>3640cb54210edbb7edbf1b12ef0127ecfcea967d</id>
<content type='text'>
'RELENG_6_0_0_RELEASE'.

This commit was manufactured to restore the state of the 6.0-RELEASE image.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'RELENG_6_0_0_RELEASE'.

This commit was manufactured to restore the state of the 6.0-RELEASE image.
</pre>
</div>
</content>
</entry>
<entry>
<title>Assorted markup fixes.</title>
<updated>2005-06-15T19:04:04+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-06-15T19:04:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f789cb829380f2501402d11904f10adf363f7da5'/>
<id>f789cb829380f2501402d11904f10adf363f7da5</id>
<content type='text'>
Approved by:	re
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by:	re
</pre>
</div>
</content>
</entry>
<entry>
<title>Provide more POSIX-complaint ttyname_r(3) interface[1], which is slightly</title>
<updated>2005-05-13T16:27:30+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2005-05-13T16:27:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8dcb56dc7885d7310299a09a04fb5334f8d75d7a'/>
<id>8dcb56dc7885d7310299a09a04fb5334f8d75d7a</id>
<content type='text'>
different from what has been offered in libc_r (the one spotted in the
original PR which is found in libthr has already been removed by David's
commit, which is rev. 1.44 of lib/libthr/thread/thr_private.h):
	- Use POSIX standard prototype for ttyname_r, which is,
		int ttyname_r(int, char *, size_t);
	  Instead of:
	  	char *ttyname_r(int, char *, size_t);
	  This is to conform IEEE Std 1003.1, 2004 Edition [1].
	- Since we need to use standard errno for return code, include
	  errno.h in ttyname.c
	- Update ttyname(3) implementation according to reflect the API
	  change.
	- Document new ttyname_r(3) behavior
	- Since we already make use of a thread local storage for
	  ttyname(3), remove the BUGS section.
	- Remove conflicting ttyname_r related declarations found in libc_r.

Hopefully this change should not have changed the API/ABI, as the ttyname_r
symbol was never introduced before the last unistd.h change which happens a
couple of days before.

[1] http://www.opengroup.org/onlinepubs/009695399/functions/ttyname.html

Requested by:	Tom McLaughlin &lt;tmclaugh sdf lonestar org&gt;
Through PR:	threads/76938
Patched by:	Craig Rodrigues &lt;rodrigc crodrigues org&gt; (with minor changes)
Prompted by:	mezz@
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
different from what has been offered in libc_r (the one spotted in the
original PR which is found in libthr has already been removed by David's
commit, which is rev. 1.44 of lib/libthr/thread/thr_private.h):
	- Use POSIX standard prototype for ttyname_r, which is,
		int ttyname_r(int, char *, size_t);
	  Instead of:
	  	char *ttyname_r(int, char *, size_t);
	  This is to conform IEEE Std 1003.1, 2004 Edition [1].
	- Since we need to use standard errno for return code, include
	  errno.h in ttyname.c
	- Update ttyname(3) implementation according to reflect the API
	  change.
	- Document new ttyname_r(3) behavior
	- Since we already make use of a thread local storage for
	  ttyname(3), remove the BUGS section.
	- Remove conflicting ttyname_r related declarations found in libc_r.

Hopefully this change should not have changed the API/ABI, as the ttyname_r
symbol was never introduced before the last unistd.h change which happens a
couple of days before.

[1] http://www.opengroup.org/onlinepubs/009695399/functions/ttyname.html

Requested by:	Tom McLaughlin &lt;tmclaugh sdf lonestar org&gt;
Through PR:	threads/76938
Patched by:	Craig Rodrigues &lt;rodrigc crodrigues org&gt; (with minor changes)
Prompted by:	mezz@
</pre>
</div>
</content>
</entry>
<entry>
<title>Have ttyname_r() try to ask DEVFS for the device name.</title>
<updated>2005-03-08T21:35:52+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2005-03-08T21:35:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9a9ef8b65a2d3fc64c5e448acc39f079221881fa'/>
<id>9a9ef8b65a2d3fc64c5e448acc39f079221881fa</id>
<content type='text'>
Document ttyname_r().

Simplify threaded/unthreaded stuff a lot.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Document ttyname_r().

Simplify threaded/unthreaded stuff a lot.
</pre>
</div>
</content>
</entry>
<entry>
<title>mdoc(7) police: Fixed abuses of the .Ar and .Em macros.</title>
<updated>2002-12-18T13:33:04+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2002-12-18T13:33:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5c564bae0a7655b1a517f322ad410a743e98e8d2'/>
<id>5c564bae0a7655b1a517f322ad410a743e98e8d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mdoc(7) police: Use the new .In macro for #include statements.</title>
<updated>2001-10-01T16:09:29+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2001-10-01T16:09:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=32eef9aeb1f39a1623cea55da147c89abbd5b9a5'/>
<id>32eef9aeb1f39a1623cea55da147c89abbd5b9a5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mdoc(7) police: split punctuation characters + misc fixes.</title>
<updated>2001-02-01T16:38:02+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2001-02-01T16:38:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d0353b836e88609b9400851d32e0aa6645ff9be3'/>
<id>d0353b836e88609b9400851d32e0aa6645ff9be3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Whitespace only change: trim trailing whitespace.</title>
<updated>2000-10-30T13:23:19+00:00</updated>
<author>
<name>Jeroen Ruigrok van der Werven</name>
<email>asmodai@FreeBSD.org</email>
</author>
<published>2000-10-30T13:23:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5714e85318e33999ad2f1ff2a25c260b5796a3f9'/>
<id>5714e85318e33999ad2f1ff2a25c260b5796a3f9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce ".Lb" macro to libc manpages.</title>
<updated>2000-04-21T09:42:15+00:00</updated>
<author>
<name>Alexey Zelkin</name>
<email>phantom@FreeBSD.org</email>
</author>
<published>2000-04-21T09:42:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=25bb73e063c17cd9048cf60100dbc0ac5177e94a'/>
<id>25bb73e063c17cd9048cf60100dbc0ac5177e94a</id>
<content type='text'>
More libraries manpages updates following.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
More libraries manpages updates following.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove single-space hard sentence breaks.  These degrade the quality</title>
<updated>2000-03-02T09:14:21+00:00</updated>
<author>
<name>Sheldon Hearn</name>
<email>sheldonh@FreeBSD.org</email>
</author>
<published>2000-03-02T09:14:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c6ff3a1bf74d96278726113478b2c66884aab584'/>
<id>c6ff3a1bf74d96278726113478b2c66884aab584</id>
<content type='text'>
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
</pre>
</div>
</content>
</entry>
</feed>
