|
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:
For what it's worth, the usual unix approach would be to have tcc's -run option accept - as an placeholder for stdin.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.
Regards, Brian.
[Prev in Thread] | Current Thread | [Next in Thread] |