* Back to Mithandir's C sponge, now fixed.
* tss.1, ifdata.1: typo fix. Closes: #358557, #358556
+ * ifdata: patch from its author to make it behave properly on big endian
+ systems. Closes: #358860
-- Joey Hess <joeyh@debian.org> Thu, 23 Mar 2006 03:45:30 -0500
void print_quad_ipv4(unsigned int i) {
+#if __BYTE_ORDER == __LITTLE_ENDIAN
printf("%d.%d.%d.%d",
i&0xff,
(i&0xff00)>>8,
(i&0xff0000)>>16,
(i&0xff000000)>>24);
+#else
+ printf("%d.%d.%d.%d",
+ (i&0xff000000)>>24,
+ (i&0xff0000)>>16,
+ (i&0xff00)>>8,
+ i&0xff);
+#endif
}
void print_quad_ipv6(uint16_t *a) {
\fBpee\fR [\fB"command"\fR\&...]
.SH DESCRIPTION
pee is like tee
-but for pipes. Each command is run and standard input is
-copied into it, as well as being sent to stdout.
+but for pipes. Each command is run and fed a copy of the
+stadard input. The output of all commands is sent to
+stdout.
.SH "SEE ALSO"
\fBtee\fR(1)