Subversion Repositories Kolibri OS

Rev

Rev 3593 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3593 Rev 3805
Line 27... Line 27...
27
 *       crt1.c and dllcrt1.c. This means changes in the code don't have to
27
 *       crt1.c and dllcrt1.c. This means changes in the code don't have to
28
 *       be manually synchronized, but it does lead to this not-generally-
28
 *       be manually synchronized, but it does lead to this not-generally-
29
 *       a-good-idea use of include. */
29
 *       a-good-idea use of include. */
Line 30... Line 30...
30
 
30
 
31
 
31
 
Line 32... Line 32...
32
extern char __cmdline;
32
extern char __cmdline[];
Line 33... Line 33...
33
extern char __pgmname;
33
extern char __pgmname[];
34
 
34
 
Line 105... Line 105...
105
 
105
 
Line 106... Line 106...
106
    set_cwd(__appcwd);
106
    set_cwd(__appcwd);
Line 107... Line 107...
107
 
107
 
108
    arg[0] = &__pgmname;
108
    arg[0] = &__pgmname;
109
 
109
 
110
    if( __cmdline != 0)
110
    if( __cmdline[0] != 0)
111
    {
111
    {