User: Password:
|
|
Subscribe / Log in / New account

A tempest in a tty pot

A tempest in a tty pot

Posted Aug 2, 2009 19:58 UTC (Sun) by nix (subscriber, #2304)
In reply to: A tempest in a tty pot by pflugstad
Parent article: A tempest in a tty pot

Not exactly, It should loop as long as it gets any data, until it
gets -EOF/close on the pipe or gets *any error other than -EINTR*.

Otherwise you're going to loop forever if there's an error.


(Log in to post comments)


Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds