fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
Functions
scan.c File Reference

scanning/conversion of strings to different variable types More...

#include "scan.h"
Include dependency graph for scan.c:

Go to the source code of this file.

Functions

unsigned int scan_0x (const char *s, unsigned int *u)
 
unsigned int scan_8long (const char *s, unsigned long *u)
 
unsigned int scan_uint (const char *s, unsigned int *u)
 
unsigned int scan_plusminus (const char *s, int *sign)
 
unsigned int scan_long (const char *s, long *i)
 
unsigned int scan_ulong (const char *s, unsigned long *u)
 
unsigned int scan_xlong (const char *s, unsigned long *u)
 
unsigned int scan_xint (const char *s, unsigned int *i)
 

Detailed Description

scanning/conversion of strings to different variable types

Author
djb qmail, ucspi-tcp

Definition in file scan.c.

Function Documentation

◆ scan_0x()

unsigned int scan_0x ( const char *  s,
unsigned int *  u 
)

Definition at line 21 of file scan.c.

Here is the call graph for this function:

◆ scan_8long()

unsigned int scan_8long ( const char *  s,
unsigned long *  u 
)

Definition at line 35 of file scan.c.

◆ scan_long()

unsigned int scan_long ( const char *  s,
long *  i 
)

Definition at line 66 of file scan.c.

Here is the call graph for this function:

◆ scan_plusminus()

unsigned int scan_plusminus ( const char *  s,
int *  sign 
)

Definition at line 59 of file scan.c.

Here is the caller graph for this function:

◆ scan_uint()

unsigned int scan_uint ( const char *  s,
unsigned int *  u 
)

Definition at line 49 of file scan.c.

Here is the call graph for this function:

◆ scan_ulong()

unsigned int scan_ulong ( const char *  s,
unsigned long *  u 
)

Definition at line 79 of file scan.c.

Here is the caller graph for this function:

◆ scan_xint()

unsigned int scan_xint ( const char *  s,
unsigned int *  i 
)

Definition at line 107 of file scan.c.

Here is the call graph for this function:

◆ scan_xlong()

unsigned int scan_xlong ( const char *  s,
unsigned long *  u 
)

Definition at line 93 of file scan.c.

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