diff options
author | Christopher Faylor <me@cgf.cx> | 2000-08-18 19:52:31 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-08-18 19:52:31 +0000 |
commit | 25685bb10773a532cfd9b391ac7f7aa748a15d0b (patch) | |
tree | d46564cc22f8790fd8c58caacfd5d46490e8a2ad /winsup/doc/fhandler-tut.txt | |
parent | dc999f678d3d06bc35cd2eae3b183afac4da1b92 (diff) | |
download | cygnal-25685bb10773a532cfd9b391ac7f7aa748a15d0b.tar.gz cygnal-25685bb10773a532cfd9b391ac7f7aa748a15d0b.tar.bz2 cygnal-25685bb10773a532cfd9b391ac7f7aa748a15d0b.zip |
* fhandler-tut.txt: hinfo -> dtable.
Diffstat (limited to 'winsup/doc/fhandler-tut.txt')
-rw-r--r-- | winsup/doc/fhandler-tut.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/doc/fhandler-tut.txt b/winsup/doc/fhandler-tut.txt index 52e08c768..213b32b20 100644 --- a/winsup/doc/fhandler-tut.txt +++ b/winsup/doc/fhandler-tut.txt @@ -8,7 +8,7 @@ Files to note: fhandler.h - must define a new derived class here and FH_* path.cc - to notice "/dev/zero" and mark it fhandler_zero.cc - new -hinfo.cc - to create the fhandler instance +dtable.cc - to create the fhandler instance OK, first we have to define what this new fhandler will do. In our example case, we're going to implement the unix "/dev/zero" device, @@ -45,7 +45,7 @@ to open "/dev/zero". Look in get_device_number; there's a long list of cases, just add one (I added one after "null"). Also remember to add an entry to the windows_device_names list in the right spot. -To go along with that change, we'll need to change hinfo.cc. Look for +To go along with that change, we'll need to change dtable.cc. Look for FH_NULL and add a case for FH_ZERO as well. Now we get to fhandler_zero.cc itself. Create the empty file and copy |