File: key.h

package info (click to toggle)
mg 20061119-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 640 kB
  • ctags: 889
  • sloc: ansic: 12,238; sh: 147; makefile: 121
file content (14 lines) | stat: -rw-r--r-- 392 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*	$OpenBSD: key.h,v 1.5 2005/06/14 18:14:40 kjell Exp $	*/

/* This file is in the public domain. */

/* key.h: Insert file for mg 2 functions that need to reference key pressed */

#define MAXKEY	8			/* maximum number of prefix chars */

struct key {				/* the chacter sequence in a key */
	int	k_count;		/* number of chars */
	KCHAR	k_chars[MAXKEY];	/* chars */
};

extern struct key key;