File: str.h

package info (click to toggle)
dq 20230101-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,020 kB
  • sloc: ansic: 8,269; makefile: 363; sh: 176; python: 82
file content (11 lines) | stat: -rw-r--r-- 321 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _STR_H____
#define _STR_H____

extern long long str_len(const char *);
extern long long str_chr(const char *, int);
extern long long str_rchr(const char *, int);
extern int str_diff(const char *, const char *);
extern int str_start(const char *, const char *);
#define str_equal(s,t) (!str_diff((s),(t)))

#endif