Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!ukma!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.std.c Subject: Re: ansi printf questions Message-ID: <9604@smoke.BRL.MIL> Date: 6 Feb 89 17:21:07 GMT References: <15159@oberon.USC.EDU> <9591@smoke.BRL.MIL> <372@twwells.uucp> <9594@smoke.BRL.MIL> <15188@oberon.USC.EDU> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 7 In article <15188@oberon.USC.EDU> blarson@skat.usc.edu (Bob Larson) writes: -One further question: On a machine with 16 bit short and 32 bit int, -what should: -printf("%hd", 65537); -print? 65537 (ignore the h)? 1 (truncate to short)? unspecified? Unspecified. Do whatever you like.