Changeset 5f714c9 in buchla-68k for prolog


Ignore:
Timestamp:
07/08/2017 11:07:54 AM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
72d4545
Parents:
ee49131
Message:

Don't try to use exit codes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • prolog/croot.c

    ree49131 r5f714c9  
    4848/*
    4949   ============================================================================
    50         exit(code) -- return control to the BIOS
     50        exit() -- return control to the BIOS
    5151   ============================================================================
    5252*/
     
    7777        strcat(buff, "\n");
    7878        write(2, buff, strlen(buff));
    79         exit(EINVAL);
     79        exit();
    8080}
    8181
     
    161161
    162162        main(Argc,Argv);        /* call application */
    163         exit(0);                /* exit in case the application didn't */
     163        exit();                 /* exit in case the application didn't */
    164164}
Note: See TracChangeset for help on using the changeset viewer.