delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/10/23:27:40

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sun, 10 Jul 2005 20:27:29 -0700 (PDT)
Message-Id: <200507110327.j6B3RTaL026133@celerio.ucdavis.edu>
To: cygwin AT cygwin DOT com
Subject: How to add 4K of scratch space at the bottom of the stack using C instead of C++?
From: "Yu-Cheng Chou" <cycchou AT ucdavis DOT edu>
X-Errors-To: cycchou AT magenta DOT ucdavis DOT edu
X-User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
X-IsSubscribed: yes

Hi,
In order to dynamically load cygwin1.dll with VC, I need to add 4K of 
scratch space at the bottom of my stack.

The winsup/testsuite/cygload/cygload.cpp shows how to do it using C++.
How can I add the scratch space using C rather than C++ in a simplest way?

Thanks


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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