Audiovox P965 Fiche technique Page 79

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 280
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 78
API in C using winsock
76
DEBUG ? printf("%d\n", iAccumulated) : 0;
return (char)iAccumulated;
}
/********************************************************************
* Test whether or not this system is little endian at RUNTIME
* Courtesy: http://download.osgeo.org/grass/grass6_progman/endian_8c_source.html
********************************************************************/
int isLittleEndian(void)
{
union
{
int testWord;
char testByte[sizeof(int)];
} endianTest;
endianTest.testWord = 1;
if (endianTest.testByte[0] == 1)
return 1; /* true: little endian */
return 0; /* false: big endian */
}
References
[1] http:/ / wiki. mikrotik. com/ wiki/ API_in_C
Vue de la page 78
1 2 ... 74 75 76 77 78 79 80 81 82 83 84 ... 279 280

Commentaires sur ces manuels

Pas de commentaire