[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn trunk r17244: FAIL (x86_64-unknown-linux-gnu static ra_svn fsfs)

From: Jim Blandy <jimb_at_red-bean.com>
Date: 2005-11-08 23:39:24 CET

For what it's worth, in POSIX 2003, the entry for stderr, stdin, and stdout
in the System Interfaces (p. 1409 in issue 6) says:

The following symbolic values in <unistd.h> define the file descriptors that
> shall be associated with the C-language stdin , stdout , and stderr when the
> application is started:
>
> STDIN_FILENO Standard input value, stdin . Its value is 0.
> STDOUT_FILENO Standard output value, stdout . Its value is 1.
> STDERR_FILENO Standard error value, stderr . Its value is 2.
>
>
On 11/8/05, Malcolm Rowe <malcolm-svn-dev@farside.org.uk> wrote:
>
> Well, that explains it then. I'd go with 'echo foo >&2' instead: it seems
> to be defined by POSIX (though I'm not sure that stderr has to be file
> handle 2), and it's supported by at least my Linux and Mac OS X sh-like
> shells.
>
Received on Tue Nov 8 23:40:24 2005

This is an archived mail posted to the Subversion Dev mailing list.