ATOL(3) 1990 ATOL(3) NNAAMMEE atol - convert ASCII string to long integer SSYYNNOOPPSSIISS ##iinncclluuddee <<ssttddlliibb..hh>> lloonngg aattooll((ccoonnsstt cchhaarr **nnppttrr));; DDEESSCCRRIIPPTTIIOONN The _a_t_o_l function converts the initial portion of the string pointed to by _n_p_t_r to _l_o_n_g _i_n_t_e_g_e_r representation. It is equivalent to: strtol(nptr, (char **)NULL, 10); SSEEEE AALLSSOO atof(3), atoi(3), strtod(3), strtol(3), strtoul(3) SSTTAANNDDAARRDDSS AAttooll conforms to ANSI X3.159-1989 (``ANSI C''). Printed 7/27/90 May 1