that works, but i really want to have a pretty output to stdout. i guess i
have to stick with printf and use `for (i=0; i < sizeof(XXX); i++)` for each
array in the struct. just thought i could avoid it.

btw. `./my-program | hexdump` works, but if i do `./my-program > output`
output is being created, but is empty. is this normal?

cheers.

Igor Mozolevsky schrieb am 2009-06-30:
> 2009/6/30 Alexander Best <[email protected]>:
> > thanks. but that simply dumps the contents of the struct to stdout.
> > but since
> > most of the struct's contents aren't ascii the output isn't really
> > of much
> > use.

> How about ./your-program | hexdump ?

> --
> Igor
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to