libowfat/scan/scan_xshort.3

18 lines
578 B
Groff
Raw Normal View History

2002-09-16 21:56:49 +00:00
.TH scan_xshort 3
.SH NAME
scan_xshort \- parse an unsigned short integer in hexadecimal ASCII representation
.SH SYNTAX
.B #include <libowfat/scan.h>
2002-09-16 21:56:49 +00:00
2006-11-07 17:56:05 +00:00
size_t \fBscan_xshort\fP(const char *\fIsrc\fR,unsigned short *\fIdest\fR);
2002-09-16 21:56:49 +00:00
.SH DESCRIPTION
scan_xshort parses an unsigned short integer in hexadecimal ASCII
representation from \fIsrc\fR and writes the result into \fIdest\fR. It
returns the number of bytes read from \fIsrc\fR.
scan_xshort understands both upper and lower case letters.
scan_xshort does not expect or understand a "0x" prefix.
.SH "SEE ALSO"
fmt_xshort(3)