-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHandle.h
More file actions
21 lines (18 loc) · 704 Bytes
/
Handle.h
File metadata and controls
21 lines (18 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/********************************************************************
* (C) Adam Petersen 2005
*
* This code accompanies the article "Patterns in C, part 5: REACTOR".
* The article is available as PDF from www.adampetersen.se
*
* The code is intended as a illustration of the Reactor at work and
* is not suitable for use in production code (in order to keep this
* example as short as possible, the error handling has been strongly
* simplified).
*
********************************************************************/
#ifndef HANDLE_H
#define HANDLE_H
/* The type of a handle is system specific - this example
uses UNIX I/O handles, which are plain integer values. */
typedef int Handle;
#endif