GET_OPTION

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

 

NAME

get_option - Parse integer from an option string  

SYNOPSIS

"SYNOPSIS"

int get_option (char ** str, int * pint);  

ARGUMENTS

str
option string
pint
(output) integer value parsed from str
 

DESCRIPTION

Read an int from an option string; if available accept a subsequent comma as well.  

0

no int in string  

1

int found, no subsequent comma  

2

int found including a subsequent comma


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
0
1
2

This document was created by man2html, using the manual pages.
Time: 05:30:36 GMT, October 06, 2005