aboutsummaryrefslogtreecommitdiffstats
path: root/about
Commit message (Expand)AuthorAgeFilesLines
* added top redirection for the new privacy policy pagefilip2016-06-131-0/+5
* Revert "Updated Estonian translation"Thomas Backlund2014-10-128-0/+40
* Updated Estonian translationMarek Laane2014-10-128-40/+0
* added most of the missing redirectionsFilip Komar2014-04-226-0/+30
* fix fileManuel Hiebel2014-04-221-1/+1
* add redirection for about/media, spotted by filipManuel Hiebel2014-04-221-0/+5
* use autorediction to lang pageManuel Hiebel2013-12-291-2/+3
* redir updateRomain d'Alverny2011-04-051-3/+0
* default redirections, temp for nowRomain d'Alverny2011-03-311-0/+7
1/dietlibc/lib/atol.c
blob: 558a004b98c13a966c8bfc8c8c50615a5ddb8ff7 (plain)
1
2
3
4
5
6
7
8
long int atol(const char* s) {
  long int v=0;
  int sign=1;
  if (*s=='-') { sign=-1; ++s; } else if (*s=='+') ++s;
  while (*s && (*s>='0') && (*s<='9'))
    v=v*10+*s++-'0';
  return v*sign;
}