* 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.
This commit is contained in:
Christopher Faylor
2005-05-09 01:19:38 +00:00
parent 61931ed5dc
commit 1cd8ccec87
4 changed files with 77 additions and 48 deletions

View File

@ -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 */