MATCH_HEX

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

match_hex - scan a hex representation of an integer from a substring_t  

SYNOPSIS

"SYNOPSIS"

int match_hex (substring_t * s, int * result);  

ARGUMENTS

s
substring_t to be scanned
result
resulting integer on success
 

DESCRIPTION

Attempts to parse the &substring_t s as a hexadecimal integer. On success, sets result to the integer represented by the string and returns 0. Returns either -ENOMEM or -EINVAL on failure.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:26 GMT, October 09, 2005