File: util.h

package info (click to toggle)
shell-fm 0.7%2Bgit20100414-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 444 kB
  • ctags: 305
  • sloc: ansic: 4,422; makefile: 135; python: 80; haskell: 76; sh: 67; perl: 19
file content (17 lines) | stat: -rw-r--r-- 423 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

#ifndef SHELLFM_UTIL
#define SHELLFM_UTIL

extern char ** slurp(const char *);
extern char ** uniq(char **);
extern int grep(char **, char *);
extern char * strcasestr(const char *, const char *);
extern char * strjoin(const char *, ...);

#if ((defined(__FreeBSD__) || defined(__OpenBSD__)) || defined(__darwin__) && !defined(__STRNDUP__))
#define __STRNDUP__
extern char * strndup(const char *, size_t);
#endif

#endif