|
Last change
on this file since 569 was 569, checked in by bird, 22 years ago |
|
#577: Remove exception handler stuff.
|
-
Property cvs2svn:cvs-rev
set to
1.4
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | /* emx/startup.h (emx+gcc) */
|
|---|
| 2 |
|
|---|
| 3 | #ifndef _EMX_STARTUP_H
|
|---|
| 4 | #define _EMX_STARTUP_H
|
|---|
| 5 |
|
|---|
| 6 | #if defined (__cplusplus)
|
|---|
| 7 | extern "C" {
|
|---|
| 8 | #endif
|
|---|
| 9 |
|
|---|
| 10 | extern int _CRT_init (void);
|
|---|
| 11 | extern void _CRT_term (void);
|
|---|
| 12 | extern void __ctordtorInit (void);
|
|---|
| 13 | extern void __ctordtorTerm (void);
|
|---|
| 14 |
|
|---|
| 15 | /* argv[i][-1] contains some flag bits: */
|
|---|
| 16 |
|
|---|
| 17 | #define _ARG_DQUOTE 0x01 /* Argument quoted (") */
|
|---|
| 18 | #define _ARG_RESPONSE 0x02 /* Argument read from response file */
|
|---|
| 19 | #define _ARG_WILDCARD 0x04 /* Argument expanded from wildcard */
|
|---|
| 20 | #define _ARG_ENV 0x08 /* Argument from environment */
|
|---|
| 21 | #define _ARG_NONZERO 0x80 /* Always set, to avoid end of string */
|
|---|
| 22 |
|
|---|
| 23 | /* Arrange that FUN will be called by _CRT_init(). */
|
|---|
| 24 |
|
|---|
| 25 | #define _CRT_INIT1(fun) __asm__ (".stabs \"___crtinit1__\", 23, 0, 0, _" #fun);
|
|---|
| 26 |
|
|---|
| 27 | /* Arrange that FUN will be called by _CRT_term(). */
|
|---|
| 28 |
|
|---|
| 29 | #define _CRT_EXIT1(fun) __asm__ (".stabs \"___crtexit1__\", 23, 0, 0, _" #fun);
|
|---|
| 30 |
|
|---|
| 31 | extern void (*_atexit_v[64])(void);
|
|---|
| 32 | extern int _atexit_n;
|
|---|
| 33 |
|
|---|
| 34 | extern char ** _org_environ;
|
|---|
| 35 |
|
|---|
| 36 | #if defined (__cplusplus)
|
|---|
| 37 | }
|
|---|
| 38 | #endif
|
|---|
| 39 |
|
|---|
| 40 | #endif /* not _EMX_STARTUP_H */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.