fun.c
author Markus Brökers <mbroeker@largo.homelinux.org>
Tue, 17 Aug 2010 18:57:57 +0200
changeset 139 cb1d3f4cf18e
parent 137 d8a0984b72fc
child 140 05d42a3737a4
permissions -rw-r--r--
execve returns a value on error and this catches it
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
137
d8a0984b72fc From a 'C-Professional' :) Take a look at the source and pray
Markus Brökers <mbroeker@largo.homelinux.org>
parents:
diff changeset
     1
#include <stdio.h>
d8a0984b72fc From a 'C-Professional' :) Take a look at the source and pray
Markus Brökers <mbroeker@largo.homelinux.org>
parents:
diff changeset
     2
d8a0984b72fc From a 'C-Professional' :) Take a look at the source and pray
Markus Brökers <mbroeker@largo.homelinux.org>
parents:
diff changeset
     3
int main (void)
d8a0984b72fc From a 'C-Professional' :) Take a look at the source and pray
Markus Brökers <mbroeker@largo.homelinux.org>
parents:
diff changeset
     4
{
d8a0984b72fc From a 'C-Professional' :) Take a look at the source and pray
Markus Brökers <mbroeker@largo.homelinux.org>
parents:
diff changeset
     5
    int i;
d8a0984b72fc From a 'C-Professional' :) Take a look at the source and pray
Markus Brökers <mbroeker@largo.homelinux.org>
parents:
diff changeset
     6
d8a0984b72fc From a 'C-Professional' :) Take a look at the source and pray
Markus Brökers <mbroeker@largo.homelinux.org>
parents:
diff changeset
     7
    for (i = 0; i < 4; ++i)
d8a0984b72fc From a 'C-Professional' :) Take a look at the source and pray
Markus Brökers <mbroeker@largo.homelinux.org>
parents:
diff changeset
     8
        putchar (*((char *)(unsigned[]) {
d8a0984b72fc From a 'C-Professional' :) Take a look at the source and pray
Markus Brökers <mbroeker@largo.homelinux.org>
parents:
diff changeset
     9
                   558781766} +i));
d8a0984b72fc From a 'C-Professional' :) Take a look at the source and pray
Markus Brökers <mbroeker@largo.homelinux.org>
parents:
diff changeset
    10
d8a0984b72fc From a 'C-Professional' :) Take a look at the source and pray
Markus Brökers <mbroeker@largo.homelinux.org>
parents:
diff changeset
    11
    return 0;
d8a0984b72fc From a 'C-Professional' :) Take a look at the source and pray
Markus Brökers <mbroeker@largo.homelinux.org>
parents:
diff changeset
    12
}