File: strexp.h

package info (click to toggle)
yiff 2.06-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 3,464 kB
  • ctags: 3,028
  • sloc: ansic: 47,463; makefile: 218; sh: 77
file content (13 lines) | stat: -rw-r--r-- 309 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _STREXP_H_
#define _STREXP_H_

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

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

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

#endif