Libecoli
0.11.5
Extensible COmmand LIne library
Toggle main menu visibility
Loading...
Searching...
No Matches
string.h
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright 2016, Olivier MATZ <zer0@droids-corp.org>
3
*/
4
11
12
#pragma once
13
14
#include <stdarg.h>
15
#include <stdbool.h>
16
#include <stddef.h>
17
#include <stdint.h>
18
20
size_t
ec_strcmp_count
(
const
char
*s1,
const
char
*s2);
21
23
int
ec_str_startswith
(
const
char
*s,
const
char
*beginning);
24
26
bool
ec_str_is_space
(
const
char
*s);
27
44
int
ec_str_parse_llint
(
const
char
*str,
unsigned
int
base, int64_t min, int64_t max, int64_t *val);
45
62
int
ec_str_parse_ullint
(
63
const
char
*str,
64
unsigned
int
base,
65
uint64_t min,
66
uint64_t max,
67
uint64_t *val
68
);
69
84
char
*
ec_str_quote
(
const
char
*str,
char
quote,
bool
force);
85
100
char
*
ec_str_wrap
(
const
char
*str,
size_t
max_cols,
size_t
start_off);
101
ec_str_parse_ullint
int ec_str_parse_ullint(const char *str, unsigned int base, uint64_t min, uint64_t max, uint64_t *val)
ec_strcmp_count
size_t ec_strcmp_count(const char *s1, const char *s2)
ec_str_startswith
int ec_str_startswith(const char *s, const char *beginning)
ec_str_parse_llint
int ec_str_parse_llint(const char *str, unsigned int base, int64_t min, int64_t max, int64_t *val)
ec_str_is_space
bool ec_str_is_space(const char *s)
ec_str_wrap
char * ec_str_wrap(const char *str, size_t max_cols, size_t start_off)
ec_str_quote
char * ec_str_quote(const char *str, char quote, bool force)
ecoli
string.h
Generated by
1.17.0