Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!su-news-hub1.bbnplanet.com!su-news-feed4.bbnplanet.com!netapp.com!netapp.com!not-for-mail From: guy@netapp.com (Guy Harris) Newsgroups: comp.unix.solaris,comp.unix.bsd.misc,comp.unix.internals Subject: Re: Solaris 2.6 Date: 6 Dec 1996 17:11:12 -0800 Organization: Network Appliance Lines: 14 Distribution: inet Message-ID: <58ag7g$i0d@tooting.netapp.com> References: <32986299.AC7@mail.esrin.esa.it> <5880ig$1a5$1@shade.twinsun.com> <slrn5af88v.199.dave@pc-damir.srce.hr> <588tfe$pf2@arktur.rz.uni-ulm.de> NNTP-Posting-Host: tooting.netapp.com Xref: euryale.cc.adfa.oz.au comp.unix.solaris:91675 comp.unix.bsd.misc:1714 comp.unix.internals:11495 Andreas Borchert <borchert@turing.mathematik.uni-ulm.de> wrote: >long does not do the job because of the >existence of sometimes larger types named long long. Then you may cast >(or assign) it accordingly. You need, of course, an associated %-tag >for it. ...and I'm not sure there's a *de facto* standard % tag for "long long int", to the same extent that there's somewhat of a *de facto* standard "long long int" for getting 64-bit "int"s. Solaris 2.x offers "%ll[dux]"; 4.4BSD offers "%q[dux]"; I seem to remember reading that Linux, at least at some point, offered some *third* tag. So much for portability, even to systems that all support "long long int"....