Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
665 B

21 years ago
21 years ago
  1. .TH fmt_xlong 3
  2. .SH NAME
  3. fmt_xlong \- write a hexadecimal ASCII representation of an unsigned long integer
  5. .B #include <fmt.h>
  6. size_t \fBfmt_xlong\fP(char *\fIdest\fR,unsigned long \fIsource\fR);
  8. fmt_xlong writes an ASCII representation ('0' to '9' and 'a' to 'f',
  9. base 16) of \fIsource\fR to \fIdest\fR and returns the number of bytes
  10. written.
  11. fmt_xlong does not append \\0.
  12. If \fIdest\fR equals FMT_LEN (i.e. is zero), fmt_xlong returns the
  13. number of bytes it would have written.
  14. For convenience, fmt.h defines the integer FMT_XLONG to be big enough to
  15. contain every possible fmt_xlong output plus \\0.
  16. .SH "SEE ALSO"
  17. scan_xlong(3)