X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=sources%2Fendtest.c;h=09dded4691688aed12c6989113e0dc087197ecfb;hp=ffeca8818991351680100c2a27eb962b9dc76b1c;hb=d451ac30382ae398b9a2242a4f82b3438affc8a7;hpb=31f55ec58bee8b2c4993633849b7da4e30cab222 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;