<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/sys/mq_open.2, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Remove $FreeBSD$: two-line nroff pattern</title>
<updated>2023-08-23T17:43:31+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:32:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b144e70a3325e033163aa4e6e15d0446e245702d'/>
<id>b144e70a3325e033163aa4e6e15d0446e245702d</id>
<content type='text'>
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/

Similar commit in main:
(cherry picked from commit fa9896e082a1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/

Similar commit in main:
(cherry picked from commit fa9896e082a1)
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert the mode_t -&gt; int changes and add a warning in the BUGS section instead.</title>
<updated>2019-09-28T17:15:48+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2019-09-28T17:15:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ab311b7f1260e86558689967531c205263d253c0'/>
<id>ab311b7f1260e86558689967531c205263d253c0</id>
<content type='text'>
While FreeBSD's implementation of these expect an int inside of libc, that's an
implementation detail that we can hide from the user as it's the natural
promotion of the current mode_t type and before it is used in the kernel, it's
converted back to the narrower type that's the current definition of mode_t. As
such, documenting int is at best confusing and at worst misleading. Instead add
a note that these args are variadic and as such calling conventions may differ
from non-variadic arguments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While FreeBSD's implementation of these expect an int inside of libc, that's an
implementation detail that we can hide from the user as it's the natural
promotion of the current mode_t type and before it is used in the kernel, it's
converted back to the narrower type that's the current definition of mode_t. As
such, documenting int is at best confusing and at worst misleading. Instead add
a note that these args are variadic and as such calling conventions may differ
from non-variadic arguments.
</pre>
</div>
</content>
</entry>
<entry>
<title>Document varadic args as int, since you can't have short varadic args (they are</title>
<updated>2019-09-27T16:11:47+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2019-09-27T16:11:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4470d73996490701dd68db61ee91c760ba39841c'/>
<id>4470d73996490701dd68db61ee91c760ba39841c</id>
<content type='text'>
promoted to ints).

- `mode_t` is `uint16_t` (`sys/sys/_types.h`)
- `openat` takes variadic args
- variadic args cannot be 16-bit, and indeed the code uses int
- the manpage currently kinda implies the argument is 16-bit by saying `mode_t`

Prompted by Rust things: https://github.com/tailhook/openat/issues/21
Submitted by: Greg V at unrelenting
Differential Revision: https://reviews.freebsd.org/D21816
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
promoted to ints).

- `mode_t` is `uint16_t` (`sys/sys/_types.h`)
- `openat` takes variadic args
- variadic args cannot be 16-bit, and indeed the code uses int
- the manpage currently kinda implies the argument is 16-bit by saying `mode_t`

Prompted by Rust things: https://github.com/tailhook/openat/issues/21
Submitted by: Greg V at unrelenting
Differential Revision: https://reviews.freebsd.org/D21816
</pre>
</div>
</content>
</entry>
<entry>
<title>document mqueuefs is required for mq_open...</title>
<updated>2014-09-15T22:32:35+00:00</updated>
<author>
<name>John-Mark Gurney</name>
<email>jmg@FreeBSD.org</email>
</author>
<published>2014-09-15T22:32:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e2cc4003e27e12fcc4213bbfcd0aeed3945d60f7'/>
<id>e2cc4003e27e12fcc4213bbfcd0aeed3945d60f7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mdoc: remove literal tabs where they don't belong</title>
<updated>2010-06-08T16:48:59+00:00</updated>
<author>
<name>Ulrich Spörlein</name>
<email>uqs@FreeBSD.org</email>
</author>
<published>2010-06-08T16:48:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ef8a3e5cf29aa8ced8a901ef503d8a0df978cac7'/>
<id>ef8a3e5cf29aa8ced8a901ef503d8a0df978cac7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the easily-greppable copyright notice template from</title>
<updated>2008-02-29T17:48:25+00:00</updated>
<author>
<name>Philip Paeps</name>
<email>philip@FreeBSD.org</email>
</author>
<published>2008-02-29T17:48:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=db47316b5cc4d4a3a6509ba4f14f439fb365f010'/>
<id>db47316b5cc4d4a3a6509ba4f14f439fb365f010</id>
<content type='text'>
src/share/examples/mdoc/POSIX-copyright.

Requested by:	ru
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
src/share/examples/mdoc/POSIX-copyright.

Requested by:	ru
</pre>
</div>
</content>
</entry>
<entry>
<title>Note, as required by our agreement with IEEE/The Open Group, that the message</title>
<updated>2008-02-21T19:16:57+00:00</updated>
<author>
<name>Philip Paeps</name>
<email>philip@FreeBSD.org</email>
</author>
<published>2008-02-21T19:16:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a975b4b6f22e2cd719ae19fcf264a80857a049ea'/>
<id>a975b4b6f22e2cd719ae19fcf264a80857a049ea</id>
<content type='text'>
queue manual pages excerpt the POSIX standard.

Spotted by:	Mindaugas Rasiukevicius &lt;rmind -at- NetBSD.org&gt;
Reviewed by:	imp
MFC after:	1 day
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
queue manual pages excerpt the POSIX standard.

Spotted by:	Mindaugas Rasiukevicius &lt;rmind -at- NetBSD.org&gt;
Reviewed by:	imp
MFC after:	1 day
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix library names.</title>
<updated>2007-06-18T01:50:03+00:00</updated>
<author>
<name>David Xu</name>
<email>davidxu@FreeBSD.org</email>
</author>
<published>2007-06-18T01:50:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e931190671ab79221dc5f041684f5537c492e03f'/>
<id>e931190671ab79221dc5f041684f5537c492e03f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Break hard sentence break.</title>
<updated>2005-12-03T08:52:07+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-12-03T08:52:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=61df86c1ed7f207074edaf0e39f7ab6196c64da9'/>
<id>61df86c1ed7f207074edaf0e39f7ab6196c64da9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove implementation-defined, it has already been described in NOTES</title>
<updated>2005-12-03T02:49:04+00:00</updated>
<author>
<name>David Xu</name>
<email>davidxu@FreeBSD.org</email>
</author>
<published>2005-12-03T02:49:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8fcc6576351d95a14c271982012bcee425627041'/>
<id>8fcc6576351d95a14c271982012bcee425627041</id>
<content type='text'>
section.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
section.
</pre>
</div>
</content>
</entry>
</feed>
