PostgreSQL Source Code  git master
string.h
Go to the documentation of this file.
1 /*
2  * string.h
3  * string handling helpers
4  *
5  * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
6  * Portions Copyright (c) 1994, Regents of the University of California
7  *
8  * src/include/common/string.h
9  */
10 #ifndef COMMON_STRING_H
11 #define COMMON_STRING_H
12 
13 extern bool pg_str_endswith(const char *str, const char *end);
14 extern int strtoint(const char *pg_restrict str, char **pg_restrict endptr,
15  int base);
16 extern void pg_clean_ascii(char *str);
17 extern int pg_strip_crlf(char *str);
18 
19 #endif /* COMMON_STRING_H */
void pg_clean_ascii(char *str)
Definition: string.c:82
bool pg_str_endswith(const char *str, const char *end)
Definition: string.c:31
int strtoint(const char *pg_restrict str, char **pg_restrict endptr, int base)
Definition: string.c:50
int pg_strip_crlf(char *str)
Definition: string.c:105