OSDN Git Service

(split) LDP: Update original to LDP v3.52.
[linuxjm/LDP_man-pages.git] / original / man3 / swab.3
index bff8d14..9c4ef7a 100644 (file)
@@ -41,16 +41,30 @@ swab \- swap adjacent bytes
 .SH DESCRIPTION
 The
 .BR swab ()
-function copies \fIn\fP bytes from the array pointed
-to by \fIfrom\fP to the array pointed to by \fIto\fP, exchanging
+function copies
+.I n
+bytes from the array pointed
+to by
+.I from
+to the array pointed to by
+.IR to ,
+exchanging
 adjacent even and odd bytes.
 This function is used to exchange data
 between machines that have different low/high byte ordering.
 .LP
-This function does nothing when \fIn\fP is negative.
-When \fIn\fP is positive and odd, it handles \fIn\-1\fP bytes
+This function does nothing when
+.I n
+is negative.
+When
+.I n
+is positive and odd, it handles
+.I n\-1
+bytes
 as above, and does something unspecified with the last byte.
-(In other words, \fIn\fP should be even.)
+(In other words,
+.I n
+should be even.)
 .SH RETURN VALUE
 The
 .BR swab ()