diff options
Diffstat (limited to 'src/lib/libc/string/swab.3')
-rw-r--r-- | src/lib/libc/string/swab.3 | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/lib/libc/string/swab.3 b/src/lib/libc/string/swab.3 index 133c487bbd..56def1ec88 100644 --- a/src/lib/libc/string/swab.3 +++ b/src/lib/libc/string/swab.3 | |||
@@ -9,11 +9,7 @@ | |||
9 | .\" 2. Redistributions in binary form must reproduce the above copyright | 9 | .\" 2. Redistributions in binary form must reproduce the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer in the | 10 | .\" notice, this list of conditions and the following disclaimer in the |
11 | .\" documentation and/or other materials provided with the distribution. | 11 | .\" documentation and/or other materials provided with the distribution. |
12 | .\" 3. All advertising materials mentioning features or use of this software | 12 | .\" 3. Neither the name of the University nor the names of its contributors |
13 | .\" must display the following acknowledgement: | ||
14 | .\" This product includes software developed by the University of | ||
15 | .\" California, Berkeley and its contributors. | ||
16 | .\" 4. Neither the name of the University nor the names of its contributors | ||
17 | .\" may be used to endorse or promote products derived from this software | 13 | .\" may be used to endorse or promote products derived from this software |
18 | .\" without specific prior written permission. | 14 | .\" without specific prior written permission. |
19 | .\" | 15 | .\" |
@@ -29,17 +25,16 @@ | |||
29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 25 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
30 | .\" SUCH DAMAGE. | 26 | .\" SUCH DAMAGE. |
31 | .\" | 27 | .\" |
32 | .\" from: @(#)swab.3 6.6 (Berkeley) 5/1/91 | 28 | .\" $OpenBSD: swab.3,v 1.6 2007/05/31 19:19:32 jmc Exp $ |
33 | .\" $Id: swab.3,v 1.1.1.1 1995/10/18 08:42:23 deraadt Exp $ | ||
34 | .\" | 29 | .\" |
35 | .Dd May 1, 1991 | 30 | .Dd $Mdocdate: May 31 2007 $ |
36 | .Dt SWAB 3 | 31 | .Dt SWAB 3 |
37 | .Os | 32 | .Os |
38 | .Sh NAME | 33 | .Sh NAME |
39 | .Nm swab | 34 | .Nm swab |
40 | .Nd swap adjacent bytes | 35 | .Nd swap adjacent bytes |
41 | .Sh SYNOPSIS | 36 | .Sh SYNOPSIS |
42 | .Fd #include <string.h> | 37 | .Fd #include <unistd.h> |
43 | .Ft void | 38 | .Ft void |
44 | .Fn swab "const void *src" "void *dst" "size_t len" | 39 | .Fn swab "const void *src" "void *dst" "size_t len" |
45 | .Sh DESCRIPTION | 40 | .Sh DESCRIPTION |
@@ -55,7 +50,7 @@ swapping adjacent bytes. | |||
55 | .Pp | 50 | .Pp |
56 | The argument | 51 | The argument |
57 | .Fa len | 52 | .Fa len |
58 | must be even number. | 53 | must be an even number. |
59 | .Sh SEE ALSO | 54 | .Sh SEE ALSO |
60 | .Xr bzero 3 , | 55 | .Xr bzero 3 , |
61 | .Xr memset 3 | 56 | .Xr memset 3 |