File: xstring.h

package info (click to toggle)
craft 3.5-9
  • links: PTS
  • area: main
  • in suites: woody
  • size: 18,000 kB
  • ctags: 1,602
  • sloc: cpp: 3,794; makefile: 2,319; ansic: 857; sh: 385
file content (23 lines) | stat: -rw-r--r-- 1,187 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*======================================================================*/
/*= CHANGES AND UPDATES                                                =*/
/*======================================================================*/
/*= date   person file       subject                                   =*/
/*=--------------------------------------------------------------------=*/
/*=                                                                    =*/
/*= 301092 hua    xstring.h  created                                   =*/
/*=                                                                    =*/
/*======================================================================*/

void compress   (char s []);
void lower      (char s []);
void changeall  (char s [], 
                 int  max_length_of_s,
                 char tmpalte     [],
                 char replacement []);
char *substring (char s [], int from, int to);
char *substring (char s [], int from); 
int  submatch   (char s [], char p [], int &pos);
void strcat     (char s [], int len, char app []);
void delchar    (char s [], int pos);
void inschar    (char s [], int pos, char n);
int  strpos     (char s[], char p);