Remove whitespace right before punctuation marks in running text.

This commit is contained in:
Giorgos Keramidas 2002-02-14 13:59:44 +00:00
parent a81654a84a
commit c4d8816e3d
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=12182
12 changed files with 32 additions and 33 deletions

View file

@ -234,7 +234,7 @@ DRIVER_MODULE(mypci, pci, mypci_driver, mypci_devclass, 0, 0);</programlisting>
the <function>bus_alloc_resource()</function> function.</para> the <function>bus_alloc_resource()</function> function.</para>
<para>For example, a typical driver might have something similar <para>For example, a typical driver might have something similar
to this in the <function>attach()</function> function. : </para> to this in the <function>attach()</function> function:</para>
<programlisting> sc->bar0id = 0x10; <programlisting> sc->bar0id = 0x10;
sc->bar0res = bus_alloc_resource(dev, SYS_RES_MEMORY, &amp;(sc->bar0id), sc->bar0res = bus_alloc_resource(dev, SYS_RES_MEMORY, &amp;(sc->bar0id),
@ -267,8 +267,7 @@ DRIVER_MODULE(mypci, pci, mypci_driver, mypci_devclass, 0, 0);</programlisting>
<para>These handles can then be used to read or write from the <para>These handles can then be used to read or write from the
device registers with the <function>bus_space_*</function> device registers with the <function>bus_space_*</function>
functions. For example, a driver might contain a shorthand functions. For example, a driver might contain a shorthand
function to read from a board specific register like this : function to read from a board specific register like this:</para>
</para>
<programlisting>uint16_t <programlisting>uint16_t
board_read(struct ni_softc *sc, uint16_t address) { board_read(struct ni_softc *sc, uint16_t address) {

View file

@ -234,7 +234,7 @@ DRIVER_MODULE(mypci, pci, mypci_driver, mypci_devclass, 0, 0);</programlisting>
the <function>bus_alloc_resource()</function> function.</para> the <function>bus_alloc_resource()</function> function.</para>
<para>For example, a typical driver might have something similar <para>For example, a typical driver might have something similar
to this in the <function>attach()</function> function. : </para> to this in the <function>attach()</function> function:</para>
<programlisting> sc->bar0id = 0x10; <programlisting> sc->bar0id = 0x10;
sc->bar0res = bus_alloc_resource(dev, SYS_RES_MEMORY, &amp;(sc->bar0id), sc->bar0res = bus_alloc_resource(dev, SYS_RES_MEMORY, &amp;(sc->bar0id),
@ -267,8 +267,7 @@ DRIVER_MODULE(mypci, pci, mypci_driver, mypci_devclass, 0, 0);</programlisting>
<para>These handles can then be used to read or write from the <para>These handles can then be used to read or write from the
device registers with the <function>bus_space_*</function> device registers with the <function>bus_space_*</function>
functions. For example, a driver might contain a shorthand functions. For example, a driver might contain a shorthand
function to read from a board specific register like this : function to read from a board specific register like this:</para>
</para>
<programlisting>uint16_t <programlisting>uint16_t
board_read(struct ni_softc *sc, uint16_t address) { board_read(struct ni_softc *sc, uint16_t address) {

View file

@ -404,6 +404,7 @@ int main() {
<para>A superuser process within a jailed environment has the <para>A superuser process within a jailed environment has the
power to:</para> power to:</para>
<itemizedlist> <itemizedlist>
<listitem><simpara>Manipulate credential with <listitem><simpara>Manipulate credential with
<function>setuid</function>, <function>seteuid</function>, <function>setuid</function>, <function>seteuid</function>,