[Toc][Index]

FSD Pseudo-character Device Support

  
A pseudo-character device (single file device) may be redirected to an FSD 
. The behavior of this file is very similar to the behavior of a normal 
OS/2 character device. It may be read from (DosRead) and written to 
(DosWrite). The difference is that the DosChgFilePtr and DosFileLocks 
functions can also be applied to the file. The user would perceive this 
file as a device name for a non-existing device. This file is seen as a 
character device because the current drive and directory have no effect on 
the name. That is what happens in OS/2 today for character devices. 
The format of an OS/2 pseudo-character device name is that of an ASCIIZ 
string in the format of an OS/2 file name in a subdirectory called \DEV\. 
The pseudo device name XXX is accessible at the API level (DosQFSAttach) 
through the path name '\DEV\XXX'. 

Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs