[ECOS] Re: eCos configuration question
Grant Edwards
grante@visi.com
Fri Jun 1 14:37:00 GMT 2007
On 2007-06-01, Gary Thomas <gary@mlbassoc.com> wrote:
>>>>> ecosconfig import - ;# i.e. import 'Tcl lines' = CDLs from stdin
>>>> I once hacked my ecosconfig to add that feature, but I no longer use
>>>> it since
>>>>
>>>> ecosconfig import /dev/stdin
>>>>
>>>> works just as well (on the host platforms I care about).
>>> That really works! Thanks for your great TIP!
>>
>> The more general case is to use /proc/self/fd/N (where N is the
>> file descriptor number). If you look, /dev/stdin is just an
>> indirect symlink to /proc/self/fd/0
>
> Perhaps on Linux, but on other *nix systems, /dev/stdin may
> not be implemented this way.
There are other *nix systems?
;)
--
Grant Edwards grante Yow! It's OKAY -- I'm an
at INTELLECTUAL, too.
visi.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list