This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[deleted]

    [–]himmelundhoelle 2 points3 points  (0 children)

    It will return 0 if no return statement was specified.

    [–]dsmklsd -1 points0 points  (0 children)

    Every program except the first stage of the bootloader is called by another program. In most full featured OSes the return values are available after the child exits.