File: strexp.h

package info (click to toggle)
avscan 1.1.2-openssl-1etch1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,636 kB
  • ctags: 2,292
  • sloc: ansic: 35,654; cpp: 3,498; makefile: 123; sh: 3
file content (23 lines) | stat: -rw-r--r-- 392 bytes parent folder | download | duplicates (28)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _STREXP_H_
#define _STREXP_H_

#ifdef __cplusplus
extern "C" {
#endif


#include <stdlib.h>
#include <ctype.h>

/* strexp - expand a string into its substrings by whitespace */
extern char **strexp(const char *str, int *n);

/* strchrexp - expand a string into fields (c = designator) */
extern char **strchrexp(const char *str, char c, int *n);


#ifdef __cplusplus
}
#endif

#endif