Xref: utzoo comp.sys.m88k:288 gnu.gcc:1917 comp.lang.c:31288 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!bionet!snorkelwacker!ai-lab!churchy.ai.mit.edu!roland From: roland@ai.mit.edu (Roland McGrath) Newsgroups: comp.sys.m88k,gnu.gcc,comp.lang.c Subject: Re: Reading and writing long longs Message-ID: Date: 22 Aug 90 03:22:51 GMT References: <1990Aug15.202310.20322@nimbus3.uucp> Sender: news@wheaties.ai.mit.edu Organization: Hackers Anonymous International, Ltd., Inc. (Applications welcome) Lines: 15 In-reply-to: djs@nimbus3.uucp's message of 15 Aug 90 20:23:10 GMT The GNU C library's printf and scanf functions support long long ints. So, when I release the C library (don't ask when), you will be able to do: { long long int foo; scanf("%lld", &foo); printf("%lld\n", foo); } you can also use `L' (which means long double for e, f, and g formats) to specify long long int for formats which deal with ints. -- Roland McGrath Free Software Foundation, Inc. roland@ai.mit.edu, uunet!ai.mit.edu!roland