Trace getopnd

digit: ' ' dig_value: num:

get the first character: ' '

The algorithm:

        Given:  the first digit
	Return: the next integer in the input

        initialize the number to 0
        get the first character
	while the character is still a digit character
YOU ARE HERE


[up] to Overview.