C- Problem:

Jan-Benedict Glaw jbglaw at lug-owl.de
Fri Apr 14 13:30:09 CEST 2000


On Fri, Apr 14, 2000 at 11:34:51AM +0200, Florian Lohoff wrote:
> On Fri, Apr 14, 2000 at 11:27:11AM +0000, Linux Progger wrote:
> > 
> > Wie kann man (unter root- Status natuerlich) eine
> > Ausgabe auf allen Konsolen ausgeben?
> > 
> > Im Voraus schon einmal vielen Dank für die 
> > Beantwortung.
> 
> man wall

$Subject zufolge wird das nicht helfen -- er will's von C aus machen.
Ein schneller Blick auf den strace output von wall zeigt, daß der der Reihe
nach alle /dev/tty's (die benutzt sind...) öffnen (write-only, noblock) und
die message da 'reinschreibt...

MfG, JBG
PS: Vielleicht mal den Source von wall angucken;)

-- 
Fehler eingestehen, Größe zeigen: Nehmt die Rechtschreibreform zurück!!!
/* Jan-Benedict Glaw <jbglaw at lug-owl.de> -- +49-177-5601720 */
keyID=0x8399E1BB fingerprint=250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20000414/7303aeac/attachment.sig>


More information about the Linux mailing list