tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] I'm writing a Chinese article introducing TCC ...


From: brian
Subject: Re: [Tinycc-devel] I'm writing a Chinese article introducing TCC ...
Date: Mon, 09 Jun 2003 11:07:34 +0900
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030507

Damian M Gryski wrote:

  I guess I thought /dev/stdin was fairly portable (across Linux
  distributions, anyway), but to be *fully* portable, use:
  /proc/self/fd/0 as the filename, since that's guaranteed to exist.

For what it's worth, the usual unix approach would be to have tcc's -run option accept - as an placeholder for stdin.

Regards,

Brian.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]