summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include/sys/cygwin.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-05-09 01:19:38 +0000
committerChristopher Faylor <me@cgf.cx>2005-05-09 01:19:38 +0000
commit1cd8ccec870628c8767a71bc034fc660e37b4399 (patch)
tree67f8e144b268f78822909b3ffcc15a6822557b01 /winsup/cygwin/include/sys/cygwin.h
parent61931ed5dc714957bdd613d3fb382d41b9080e83 (diff)
downloadcygnal-1cd8ccec870628c8767a71bc034fc660e37b4399.tar.gz
cygnal-1cd8ccec870628c8767a71bc034fc660e37b4399.tar.bz2
cygnal-1cd8ccec870628c8767a71bc034fc660e37b4399.zip
* dcrt0.cc (get_cygwin_startup_info): New function pulled from dll_crt0_0.
(dll_crt0_0): Use get_cygwin_startup_info to retrieve cygwin-specific startup pointer. * external.cc (cygwin_internal): Implement CW_ARGV and CW_ENVP. * include/sys/cygwin.h: Implement CW_ARGV and CW_ENVP.
Diffstat (limited to 'winsup/cygwin/include/sys/cygwin.h')
-rw-r--r--winsup/cygwin/include/sys/cygwin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h
index eb29cceb2..30ec17804 100644
--- a/winsup/cygwin/include/sys/cygwin.h
+++ b/winsup/cygwin/include/sys/cygwin.h
@@ -80,7 +80,9 @@ typedef enum
CW_GET_UID_FROM_SID,
CW_GET_GID_FROM_SID,
CW_GET_BINMODE,
- CW_HOOK
+ CW_HOOK,
+ CW_ARGV,
+ CW_ENVP
} cygwin_getinfo_types;
#define CW_NEXTPID 0x80000000 /* or with pid to get next one */