From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <003301c34b6c$b1fe9ab0$2a8be793@gli.cas.cz> From: "pac" To: "9fans" <9fans@cse.psu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Subject: [9fans] gcc/plan9 Date: Wed, 16 Jul 2003 09:34:31 +0200 Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: f8dbe35a-eacb-11e9-9e20-41e7f4b1d025 Hi, friends, I've got several questions considering GCC on Plan9: i) if (sscanf(str+(*pos),"%d",&tag)) [ on gcc/linux] ### !=3D ### if (sscanf(str+(*pos),"%d",&tag)1) [ on gcc/plan9] ### instead =3D=3D ### if (sscanf(str+(*pos),"%d",&tag)=3D=3D1) [ on gcc/plan9] is this okay? ii) //is this possible/safe??? #ifndef Plan9 #include #else #include // otherwise, what to do ? iii) in case ii), where does string.h come from (it isn't in /sys/include/gnu/= )? /sys/include/ape/?? Thanks, regards, ++pac. --- Odchoz=ED zpr=E1va neobsahuje viry. Zkontrolov=E1no antivirov=FDm syst=E9mem AVG (http://www.grisoft.cz). Verze: 6.0.476 / Virov=E1 b=E1ze: 273 - datum vyd=E1n=ED: 24.4.2003