.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "MATCH_OCTAL" "9" "09 October 2005" "" ""
.SH NAME
match_octal \- scan an octal representation of an integer from a substring_t
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int match_octal (substring_t * \fIs\fB, int * \fIresult\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIs\fB\fR
substring_t to be scanned
.TP
\fB\fIresult\fB\fR
resulting integer on success
.SH "DESCRIPTION"
.PP
Attempts to parse the &substring_t \fIs\fR as an octal integer. On
success, sets \fIresult\fR to the integer represented by the string and returns
0. Returns either -ENOMEM or -EINVAL on failure.