Possibility of an extra device?

Alex Waugh alex at alexwaugh.com
Wed Feb 5 07:09:06 PST 2003

Maarten Bezemer wrote:
> On 5 Feb 2003 "Nick Burrett" <nick at dsvr.net> wrote:
>>Maarten Bezemer wrote:
>>>Hereby a patch for a user definable device. I think it may be handy for
>>>some particular situations. At least it gets used by CVS :-)
>>So what are the benefits of having a user definable device ? I can't 
>>think of any applications off the top of my head.
> I use it for CVS to connect a file stream (stdout, stdin) to a
> socket (via a buffer). So all data send to stdout won't be visible on
> the screen, but will be sended trough a given socketed with the right
> protocol.
> CVS was build this way and I had to continue it.

How are you making use of the device? Is your program modifying the 
device structure to point reads/writes to the user device to it's own 
routines? What interface does CVS use to set things up on unix?


Alex Waugh                                           alex at alexwaugh.com

PHP, Roots, Subversion, WebJames and more from http://www.alexwaugh.com/

More information about the gcc mailing list