delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/10/15/04:20:42

From: garbanzo AT hooked DOT net (Alex)
Subject: Re: New patch available.
15 Oct 1997 04:20:42 -0700 :
Message-ID: <Pine.BSF.3.96.971015004950.299A-100000.cygnus.gnu-win32@zippy.dyn.ml.org>
References: <34437AA8 DOT 5D3D8616 AT ticnet DOT com>
Reply-To: Alex <garbanzo AT hooked DOT net>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com


On Tue, 14 Oct 1997, Kermit Tensmeyer wrote:

> Sergey Okhapkin wrote:
> > 
> > Hi!
> > 
> >  - rcmd(), rexec(), rresvport(), socketpair() calls implemented.

Ack.  I took a quick look at the patch, and I was thinking, wouldn't it be
better to trap any non AF_INET sockets, and then return EPROTONOSUPPORT 
or EAFNOSUPPORT?

> > Signal handling in precompiled binary changed (no source provided for a now).
> > Chris Faylor rewrote signal handling stuff with semaphores instead of window
> > messages.
> 
>  Wonderful!  Is there an include file where prototypes for these
>  functions are available?

Assuming the functions follow basic BSDisms, the prototypes should be as
follows:

/* unistd.h */
int rcmd (char **, int, char *, char *, char *, int *);
int rresvport (int);
/* sys/socket.h */
int socketpair (int, int, int, int *);
/* ? */
int rexec (char **, int, char *, char *, char *, int *);

- alex

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019