[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Kernel Extensions and Device Support Programming Concepts

demo.h Example File

#ifndef _demo
#define _demo

/*
 * Parameter structure
 */
struct extparms {
	int argc;
	char **argv;
	char *buf;		/* Message buffer */
	size_t len;		/*   length */
};

#define BUFLEN 4096		/* Test msg buffer length */

#endif /* _demo */

[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]