Subject: Re: Attack of the clones: turning sl*, strip*, ppp* into cloners.
To: Andrew Brown <atatat@atatdot.net>
From: Christos Zoulas <christos@zoulas.com>
List: tech-net
Date: 02/25/2002 16:57:59
On Feb 25,  4:24pm, atatat@atatdot.net (Andrew Brown) wrote:
-- Subject: Re: Attack of the clones: turning sl*, strip*, ppp* into cloners.

| >If we are going to redo the line discipline stuff, I'd rather see
| >TIOCSETD to take, or whatever is appropriate.
| 
| this isn't TIOCSETD (although it's related), this is TIOCSLINED, which
| takes a char* instead of an int.
| 
| >struct linedisc {
| >	char l_name[20];
| >	int l_flags;
| >	int l_unit;
| >};
| 
| flags and unit could be added to the end of the char* with total
| backward compatibility.

but isn't it better to use make the TIOCGLINED and TIOCSLINED take
the struct and deprecate the old ones?

christos