Re: question: how do I find information about functions (params, return values,etc)

2002-11-11 Thread Viviana Cotirlea
OK, this is how I worked until now, meaning using google. But at one point I 
thought that in cygwin somewhere there is this information and I'm just not 
able to find it. It seems that there is not, so I wil continue using google 
for this.

Thanks a lot,
viv


From: "Elfyn McBratney" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: question: how do I find information about functions (params, 
return values, etc)
Date: Fri, 08 Nov 2002 22:26:04 +

Hey,

Try using google, 
http://www.google.com/search?hl=en&ie=ISO-8859-1&q=using+pthread_cond_init%28%29

On the first link youll find what you need.

Elfyn

From: "Viviana Cotirlea" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: question: how do I find information about functions (params, 
return values, etc)
Date: Fri, 08 Nov 2002 19:48:19 +0200
MIME-Version: 1.0
X-Originating-IP: [62.245.182.10]
Received: from sources.redhat.com ([209.249.29.67]) by 
mc1-f17.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 8 
Nov 2002 09:48:36 -0800
Received: (qmail 23348 invoked by alias); 8 Nov 2002 17:48:24 -
Received: (qmail 23334 invoked from network); 8 Nov 2002 17:48:20 -
Received: from unknown (HELO hotmail.com) (64.4.19.58)  by 
sources.redhat.com with SMTP; 8 Nov 2002 17:48:20 -
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; 
Fri, 8 Nov 2002 09:48:20 -0800
Received: from 62.245.182.10 by lw12fd.law12.hotmail.msn.com with 
HTTP;Fri, 08 Nov 2002 17:48:19 GMT
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: 
<mailto:cygwin-unsubscribe-emcb_exposure=hotmail.com@;cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@;cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@;cygwin.com>
List-Help: <mailto:cygwin-help@;cygwin.com>, 
<http://sources.redhat.com/ml/#faqs>
Sender: [EMAIL PROTECTED]
Mail-Followup-To: [EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
X-OriginalArrivalTime: 08 Nov 2002 17:48:20.0174 (UTC) 
FILETIME=[068B16E0:01C2874F]
Return-Path: [EMAIL PROTECTED]

Hi,

I installed everything provided by cygwin, meaning also the documentation.
My problem is that when I'm trying to find informations about a function, 
let's say pthread_cond_init(), I can not get any information about it.
The documentation for the supported functions is not included in the man 
pages? How can I get this information, meaning the paramethers, return 
values, etc ?
(My MANPATH is: 
:/usr/ssl/man:/usr/man:/usr/local/man:/usr/autotool/devel/man:/usr/X11R6/man)

Thanks a lot,
viv

_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: question about cygdrive flags string in the registry (Win 2000)

2002-11-11 Thread Viviana Cotirlea
Thanks for your answer. Yes, I'm aware about licensing issues, but thanks 
for pointing it out.

From: Christopher Faylor <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: question about cygdrive flags string in the registry (Win 
2000)
Date: Fri, 8 Nov 2002 11:51:54 -0500

On Fri, Nov 08, 2002 at 05:34:30PM +0200, Viviana Cotirlea wrote:
>I ported a database application on Windows 2000 using cygwin. For testing
>reasons I put on a clean (no cygwin installed) Windows 2000 machine the
>generated app.exe and the cygwin1.dll. For some reason the dbopen() call
>failed when trying to read the created before database.
>After trying to investigating the problem, I found out that it is working
>if in the registry the following data exists:
>HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
>cygdrive flags 22
>
>If this is missing the dbopen() call will fail.
>
>My question is: Because at one point I would like to distribute the 
product
>to others also, and I don't want to obligate them to install the cygwin, 
I
>would like to know why this string is required, and if my only solution
>would be to add that key in the registry if the cygwin is not already
>installed on that machine?

This is probably a binmode/textmode thing.  I don't know what the flags
are but probably dbopen needs to open files in binary and hasn't been
properly ported to do this without help from the cygwin mount command.
See "mount --help".

I am concerned when you talk about distributing the product, however.
It's just a knee jerk reaction on my part but whenever I hear "distribute
the product" coupled with "don't want..them to install the (sic) cygwin",
I wonder about licensing issues.

You are aware that your product is now GPLed right?  You need to distribute
both the source code for your product and, if you are providing a copy
of the cygwin dll (shudder) you need to provide source code for that.  This
is only negotiable if you've purchased a license from Red Hat.  Otherwise,
you must use the GPL.

cgf


_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



question: how do I find information about functions (params, return values, etc)

2002-11-08 Thread Viviana Cotirlea
Hi,

I installed everything provided by cygwin, meaning also the documentation.
My problem is that when I'm trying to find informations about a function, 
let's say pthread_cond_init(), I can not get any information about it.
The documentation for the supported functions is not included in the man 
pages? How can I get this information, meaning the paramethers, return 
values, etc ?
(My MANPATH is: 
:/usr/ssl/man:/usr/man:/usr/local/man:/usr/autotool/devel/man:/usr/X11R6/man)

Thanks a lot,
viv

_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



question about cygdrive flags string in the registry (Win 2000)

2002-11-08 Thread Viviana Cotirlea
Hi,

I ported a database application on Windows 2000 using cygwin. For testing 
reasons I put on a clean (no cygwin installed) Windows 2000 machine the 
generated app.exe and the cygwin1.dll. For some reason the dbopen() call 
failed when trying to read the created before database.
After trying to investigating the problem, I found out that it is working if 
in the registry the following data exists:
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
cygdrive flags 22

If this is missing the dbopen() call will fail.

My question is: Because at one point I would like to distribute the product 
to others also, and I don't want to obligate them to install the cygwin, I 
would like to know why this string is required, and if my only solution 
would be to add that key in the registry if the cygwin is not already 
installed on that machine?

Thanks a lot,
viv

_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/