X-Git-Url: https://gapil.gnulinux.it/gitweb/?a=blobdiff_plain;f=sources%2Fendtest.c;h=09dded4691688aed12c6989113e0dc087197ecfb;hb=eba75c4aaf390ff55ad6697ab80d4c1512ea2f39;hp=ffeca8818991351680100c2a27eb962b9dc76b1c;hpb=571305d265d04aec0e35182ff17197043757e14a;p=gapil.git diff --git a/sources/endtest.c b/sources/endtest.c index ffeca88..09dded4 100644 --- a/sources/endtest.c +++ b/sources/endtest.c @@ -1,4 +1,32 @@ -#include +/* endtest.c + * + * Copyright (C) 2003 Simone Piccardi + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ +/*************************************************************** + * + * program endtest: program to detect endianess + * + * Author: S. Piccardi + * May. 2003 + * + ***************************************************************/ + +#include /* standard I/O library */ + int main(int argc, char *argv[]) { int i, val = 0xABCDEF01;