File: common.h

package info (click to toggle)
aewm 1.2.0-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 264 kB
  • ctags: 259
  • sloc: ansic: 2,017; makefile: 139; sh: 22
file content (14 lines) | stat: -rw-r--r-- 435 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* aewm - a minimalist X11 window mananager. vim:noet:sw=4:ts=4
 * Copyright 1998-2001 Decklin Foster <decklin@red-bean.com>
 * This program is free software; see LICENSE for details. */

#ifndef AEWM_COMMON_H
#define AEWM_COMMON_H

#define BUF_SIZE 2048
#define ARG(longname, shortname, nargs) \
	((strcmp(argv[i], "--"##longname) == 0 \
	|| strcmp(argv[i], "-"##shortname) == 0) \
	&& i + (nargs) < argc)

#endif /* AEWM_COMMON_H */