From 9c3f3ffdf21c13a8233a496677cfb8cf7f4f03fe Mon Sep 17 00:00:00 2001 From: chris_kohlhoff Date: Thu, 17 Jul 2008 23:13:34 +0000 Subject: [PATCH] Fix typos, links. --- asio/src/doc/examples.qbk | 2 +- asio/src/doc/overview/buffers.qbk | 11 +++++------ asio/src/doc/overview/posix.qbk | 4 +--- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/asio/src/doc/examples.qbk b/asio/src/doc/examples.qbk index 971dd15b..27dcae05 100644 --- a/asio/src/doc/examples.qbk +++ b/asio/src/doc/examples.qbk @@ -236,7 +236,7 @@ library that wants to perform the I/O operations itself. * [@../src/examples/nonblocking/third_party_lib.cpp] -[heading:local UNIX Domain Sockets] +[heading UNIX Domain Sockets] Examples showing how to use UNIX domain (local) sockets. diff --git a/asio/src/doc/overview/buffers.qbk b/asio/src/doc/overview/buffers.qbk index 4e06ff8a..7f5409c7 100644 --- a/asio/src/doc/overview/buffers.qbk +++ b/asio/src/doc/overview/buffers.qbk @@ -45,11 +45,10 @@ an opaque representation of contiguous memory, where: mechanisms for automatically determining the size of a buffer from an array, `boost::array` or `std::vector` of POD elements, or from a `std::string`. -* Type safety violations must be explicitly requested using the [link - asio.reference.buffer_cast buffer_cast] function. In general an application - should never need to do this, but it is required by the library - implementation to pass the raw memory to the underlying operating system - functions. +* Type safety violations must be explicitly requested using the `buffer_cast` + function. In general an application should never need to do this, but it is + required by the library implementation to pass the raw memory to the + underlying operating system functions. Finally, multiple buffers can be passed to scatter-gather operations (such as [link asio.reference.read read()] or [link asio.reference.write write()]) by @@ -75,7 +74,7 @@ operations, such as the send or receive operations of a socket: type of this function meets the `MutableBufferSequence` requirements. * Data is transferred from the front of the output sequence to the back of the - input sequence by calling the [link asio.reference.basic_streambuf.commmit + input sequence by calling the [link asio.reference.basic_streambuf.commit commit()] member function. * Data is removed from the front of the input sequence by calling the [link diff --git a/asio/src/doc/overview/posix.qbk b/asio/src/doc/overview/posix.qbk index 8f356cc2..54d42d3d 100644 --- a/asio/src/doc/overview/posix.qbk +++ b/asio/src/doc/overview/posix.qbk @@ -52,16 +52,14 @@ asio.reference.basic_socket.native native()] member function. [link asio.reference.local__connect_pair local::connect_pair], [link asio.reference.local__datagram_protocol local::datagram_protocol], -[link asio.reference.local__datagram_protocol.acceptor local::datagram_protocol::acceptor], [link asio.reference.local__datagram_protocol.endpoint local::datagram_protocol::endpoint], -[link asio.reference.local__datagram_protocol.iodatagram local::datagram_protocol::iodatagram], [link asio.reference.local__datagram_protocol.socket local::datagram_protocol::socket], [link asio.reference.local__stream_protocol local::stream_protocol], [link asio.reference.local__stream_protocol.acceptor local::stream_protocol::acceptor], [link asio.reference.local__stream_protocol.endpoint local::stream_protocol::endpoint], [link asio.reference.local__stream_protocol.iostream local::stream_protocol::iostream], [link asio.reference.local__stream_protocol.socket local::stream_protocol::socket], -[link asio.examples.local UNIX domain sockets examples]. +[link asio.examples.unix_domain_sockets UNIX domain sockets examples]. [heading Notes]