Mmm.. the man pages for strtol, says that the number needs needs some white spaces and a + or - sign.. is that necessary?, and what about the end of the number, if I don't want to specify one, NULL is ok right? and.. what does the last argument is for?