File: argmatch.h

package info (click to toggle)
fileutils 3.16-5.4
  • links: PTS
  • area: main
  • in suites: slink
  • size: 3,876 kB
  • ctags: 3,158
  • sloc: ansic: 32,792; yacc: 1,032; makefile: 281; sh: 277; sed: 93; perl: 33
file content (18 lines) | stat: -rw-r--r-- 385 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef ARGMATCH_H
#define ARGMATCH_H 1

#ifndef __P
# if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
#  define __P(args) args
# else
#  define __P(args) ()
# endif  /* GCC.  */
#endif  /* Not __P.  */

int
  argmatch __P ((const char *arg, const char *const *optlist));

void
  invalid_arg __P ((const char *kind, const char *value, int problem));

#endif /* ARGMATCH_H */