fehQlibs 28
Qlibs
Loading...
Searching...
No Matches
scan.c File Reference

scanning/conversion of strings to different variable types _Generic scan_dnum and scan_xnum available More...

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

Go to the source code of this file.

Functions

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

Detailed Description

scanning/conversion of strings to different variable types _Generic scan_dnum and scan_xnum available

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 87 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 20 of file scan.c.

◆ scan_long()

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

Definition at line 62 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 11 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 50 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 36 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 101 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 116 of file scan.c.

Here is the call graph for this function: