home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 3: Developer Tools
/
Linux Cubed Series 3 - Developer Tools.iso
/
devel
/
lang
/
fortran
/
toolpack.000
/
toolpack
/
toolpack1.2
/
util
/
echoerr.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1989-03-04
|
282 b
|
15 lines
#include <stdio.h>
main(argc, argv)
/* The executable for this program is called echoerr. */
/* echoerr echos a string to standard error rather than standard output */
int argc;
char *argv[];
{
while (--argc > 0 )
fprintf(stderr, "%s%c", *++argv, (argc > 1) ? ' ' : '\n');
}