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.
 
 
 
 

17 lines
566 B

.TH scan_xshort 3
.SH NAME
scan_xshort \- parse an unsigned short integer in hexadecimal ASCII representation
.SH SYNTAX
.B #include <scan.h>
int \fBscan_xshort\fP(const char *\fIsrc\fR,unsigned short *\fIdest\fR);
.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)