diff options
Diffstat (limited to 'src/lib/libc/string/swab.3')
| -rw-r--r-- | src/lib/libc/string/swab.3 | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/lib/libc/string/swab.3 b/src/lib/libc/string/swab.3 index 133c487bbd..abeff903de 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,8 +25,7 @@ | |||
| 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.5 2003/06/02 20:18:38 millert 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 May 1, 1991 |
| 36 | .Dt SWAB 3 | 31 | .Dt SWAB 3 |
| @@ -39,7 +34,7 @@ | |||
| 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 |
