PatchworkOS  19e446b
A non-POSIX operating system.
Loading...
Searching...
No Matches
strtoul.c File Reference
#include <ctype.h>
#include <errno.h>
#include <limits.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "common/digits.h"
Include dependency graph for strtoul.c:

Go to the source code of this file.

Functions

static const char * _strtox_prelim (const char *p, char *sign, int *base)
 
static uintmax_t _strtox_main (const char **p, unsigned int base, uintmax_t error, uintmax_t limval, int limdigit, char *sign)
 
unsigned long int strtoul (const char *s, char **endptr, int base)
 

Function Documentation

◆ _strtox_prelim()

static const char * _strtox_prelim ( const char *  p,
char *  sign,
int *  base 
)
static

Definition at line 10 of file strtoul.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _strtox_main()

static uintmax_t _strtox_main ( const char **  p,
unsigned int  base,
uintmax_t  error,
uintmax_t  limval,
int  limdigit,
char *  sign 
)
static

Definition at line 70 of file strtoul.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ strtoul()

unsigned long int strtoul ( const char *  s,
char **  endptr,
int  base 
)

Definition at line 112 of file strtoul.c.

Here is the call graph for this function: