__STDC__ a strncmp()
Jan Kasprzak
kas na informatics.muni.cz
Pátek Únor 11 17:17:27 CET 2000
Zdravim,
nevite nekdo, jaka makra musi uzivatel definovat, pokud pozaduje
prostredi kompatibilni s POSIXem? Napriklad na Linuxu pri
#include <string.h> bez jakychkoli dalsich definic mam k dispozici
prototyp funkce strncmp(). Na Solarisu ne a v /usr/include/string.h
je tento prototyp spolu s dalsimi ohranicen v #ifdef __STDC__.
Co teda mam definovat, abych na vsech systemech mel ve string.h
prototyp strncmp()?
-Yenya
--
\ Jan "Yenya" Kasprzak <kas at fi.muni.cz> http://www.fi.muni.cz/~kas/
\\ PGP: finger kas at aisa.fi.muni.cz 0D99A7FB206605D7 8B35FCDE05B18A5E //
\\\ Czech Linux Homepage: http://www.linux.cz/ ///
Its purely bandwidth. If it was 40 instances of Miguel reading web pages
flat out over 100baseT you would definitely be right. But its not... (Alan)
Další informace o konferenci Linux