PatchworkOS
Loading...
Searching...
No Matches
scan.c File Reference
#include "scan.h"
#include <ctype.h>
#include <limits.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "common/digits.h"
#include "user/common/file.h"

Go to the source code of this file.

Functions

static int _scan_get (_format_ctx_t *ctx)
 
static void _scan_unget (int c, _format_ctx_t *ctx)
 
static int _scan_in_scanset (const char *scanlist, const char *end_scanlist, int rc)
 
const char * _scan (const char *spec, _format_ctx_t *ctx)
 

Function Documentation

◆ _scan()

◆ _scan_get()

static int _scan_get ( _format_ctx_t ctx)
static

◆ _scan_in_scanset()

static int _scan_in_scanset ( const char *  scanlist,
const char *  end_scanlist,
int  rc 
)
static

Definition at line 76 of file scan.c.

Referenced by _scan().

◆ _scan_unget()

static void _scan_unget ( int  c,
_format_ctx_t ctx 
)
static