]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
minor changes
authorMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 20 Apr 2006 21:56:03 +0000 (21:56 +0000)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 20 Apr 2006 21:56:03 +0000 (21:56 +0000)
man3/strtol.3

index 0625bcb21271aa1ecf36a88ae5efbe7384f7c665..326c7e1a2c599158b7a5b158d05ef28911afa244 100644 (file)
@@ -138,6 +138,11 @@ The first command line argument specifies a string from which
 should parse a number.
 The second (optional) argument specifies the base to be used for 
 the conversion.
+(This argument is converted to numeric form using
+.BR atoi (3),
+a function that performs no error checking and 
+has a simpler interface than
+.BR strtol ().)
 Some examples of the results produced by this program are the following:
 .in +0.25i
 .nf
@@ -197,7 +202,7 @@ main(int argc, char *argv[])
         exit(EXIT_FAILURE);
     } 
 
-    /* If we got here, strtol() sucessfully parsed a number */
+    /* If we got here, strtol() successfully parsed a number */
 
     printf("strtol() returned %ld\\n", val);