This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Connect system call in SCO
- From: "Rakshit Karnavat , Gurgaon" <rakshit at ggn dot hcltech dot com>
- To:
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 11 Dec 2001 22:09:52 +0530
- Subject: Connect system call in SCO
Having problem with the connect system call, in SCO Openserver 5.0.5.
I am making a non blocking socket, and when I execute the connect system
call,
it fails(which I was expecting), but it set a -ve value in errno.
Is it possible for a system call to set a -ve value in errno???
Regards
Rakshit.
> ----------
> From: Phil Edwards[SMTP:pedwards@disaster.jaj.com]
> Sent: Thursday, November 29, 2001 10:20 PM
> To: Rakshit Karnavat , Gurgaon
> Cc: Robert Lipe; gcc@gcc.gnu.org
> Subject: Re: GCC Build Status for SCO OS 5.0.5
>
> On Thu, Nov 29, 2001 at 11:40:10AM +0530, Rakshit Karnavat , Gurgaon
> wrote:
> >
> > As an example, I made a shared library using gcc.
> > When I tried to use this library with my another example cpp,
>
> If you write C++ code, then you must use g++ to perform the linking.
>
> --
> If ye love wealth greater than liberty, the tranquility of servitude
> greater
> than the animating contest for freedom, go home and leave us in peace. We
> seek
> not your counsel, nor your arms. Crouch down and lick the hand that feeds
> you;
> and may posterity forget that ye were our countrymen. - Samuel
> Adams
>