This is the mail archive of the
mailing list for the Cygwin project.
RE: _stderr, _stdout, _errno etc.
- From: Elfyn McBratney <elfyn at cygwin dot com>
- To: Vikram Mehta <vm6580 at hotmail dot com>
- Cc: garbage_collector at telia dot com, cygwin at cygwin dot com
- Date: Sat, 28 Jun 2003 07:18:48 +0100
- Subject: RE: _stderr, _stdout, _errno etc.
- References: <Law14-F109VP9AtFofS0000b249@hotmail.com>
- Reply-to: cygwin at cygwin dot com
On Sat, 28 Jun 2003, Vikram Mehta wrote:
> Hi ,
> These are plain C question, that is why I asked them here.
> These are not due to not including header files.
> the gcc that comes with CYGWIN cabot find the proper libraries.
> That is y I asked this question.
> I thought somebody here might know what library will have thse functions in
> Can u help me here
I doubt it, your not giving anyone much to go on. If you are having a problem
running a command, it would make sense to tell us what command failed for you
(and what output you received from the command), no?
As I said in a follow-up reply yesterday, basename is not yet in a Cygwin
release, it will be in one of the 1.5 releases, however.
What happens when you try and compile
--- CUR HERE ---
fprintf (stdout, "enter a string: ");
scanf ("%s", in);
fprintf (stderr, ""
"you typed: %s\n"
"", in, errno ? errno : 0);
--- CUT HERE ---
$ gcc above.c
If you get error's, try re-installing the 'gcc' package and/or the 'cygwin'
package, and if after doing so you still recieve error's, see
<http://cygwin.com/problems.html> on how to report your findings and provide
more information to help fix your problem.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html