* 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:
@ -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 */
|
||||
|
Reference in New Issue
Block a user