diff options
| author | jmc <> | 2022-09-28 20:27:12 +0000 |
|---|---|---|
| committer | jmc <> | 2022-09-28 20:27:12 +0000 |
| commit | 438c86053ebb0aa2325bca974e8d290d8bb1691a (patch) | |
| tree | dba785666ea1d5da04b7b4ff8d51a83f84df8779 /src/lib/libc | |
| parent | a1ab11b512a48638b18c6decdb5824adc3a3a139 (diff) | |
| download | openbsd-438c86053ebb0aa2325bca974e8d290d8bb1691a.tar.gz openbsd-438c86053ebb0aa2325bca974e8d290d8bb1691a.tar.bz2 openbsd-438c86053ebb0aa2325bca974e8d290d8bb1691a.zip | |
use Fn rather than Nm for swab(); from josiah frentsos
Diffstat (limited to 'src/lib/libc')
| -rw-r--r-- | src/lib/libc/string/swab.3 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libc/string/swab.3 b/src/lib/libc/string/swab.3 index 57afdd4d79..777f2833b6 100644 --- a/src/lib/libc/string/swab.3 +++ b/src/lib/libc/string/swab.3 | |||
| @@ -25,9 +25,9 @@ | |||
| 25 | .\" 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 |
| 26 | .\" SUCH DAMAGE. | 26 | .\" SUCH DAMAGE. |
| 27 | .\" | 27 | .\" |
| 28 | .\" $OpenBSD: swab.3,v 1.9 2014/12/12 20:06:13 schwarze Exp $ | 28 | .\" $OpenBSD: swab.3,v 1.10 2022/09/28 20:27:12 jmc Exp $ |
| 29 | .\" | 29 | .\" |
| 30 | .Dd $Mdocdate: December 12 2014 $ | 30 | .Dd $Mdocdate: September 28 2022 $ |
| 31 | .Dt SWAB 3 | 31 | .Dt SWAB 3 |
| 32 | .Os | 32 | .Os |
| 33 | .Sh NAME | 33 | .Sh NAME |
| @@ -42,9 +42,9 @@ | |||
| 42 | .Fa "ssize_t len" | 42 | .Fa "ssize_t len" |
| 43 | .Fc | 43 | .Fc |
| 44 | .Sh DESCRIPTION | 44 | .Sh DESCRIPTION |
| 45 | The function | 45 | The |
| 46 | .Fn swab | 46 | .Fn swab |
| 47 | copies | 47 | function copies |
| 48 | .Fa len | 48 | .Fa len |
| 49 | bytes from the location referenced by | 49 | bytes from the location referenced by |
| 50 | .Fa src | 50 | .Fa src |
| @@ -55,7 +55,7 @@ swapping adjacent bytes. | |||
| 55 | If | 55 | If |
| 56 | .Fa len | 56 | .Fa len |
| 57 | is zero or less, | 57 | is zero or less, |
| 58 | .Nm | 58 | .Fn swab |
| 59 | does nothing. | 59 | does nothing. |
| 60 | If it is odd, what happens to the last byte is unspecified. | 60 | If it is odd, what happens to the last byte is unspecified. |
| 61 | If | 61 | If |
| @@ -68,7 +68,7 @@ overlap, behaviour is undefined. | |||
| 68 | .Xr memset 3 | 68 | .Xr memset 3 |
| 69 | .Sh STANDARDS | 69 | .Sh STANDARDS |
| 70 | The | 70 | The |
| 71 | .Nm | 71 | .Fn swab |
| 72 | function is compliant with the X/Open System Interfaces option of the | 72 | function is compliant with the X/Open System Interfaces option of the |
| 73 | .St -p1003.1-2008 | 73 | .St -p1003.1-2008 |
| 74 | specification. | 74 | specification. |
