projects
/
profile
/
ivi
/
syslinux.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
bootsect.inc: try to catch obvious .0 problems
[profile/ivi/syslinux.git]
/
dos
/
strtoul.c
1
/*
2
* strtoul.c
3
*
4
* strtoul() function
5
*/
6
7
#include <stddef.h>
8
#include <inttypes.h>
9
10
extern uintmax_t strntoumax(const char *nptr, char **endptr, int base, size_t n);
11
12
unsigned long strtoul(const char *nptr, char **endptr, int base)
13
{
14
return (unsigned long) strntoumax(nptr, endptr, base, ~(size_t) 0);
15
}