Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!husc6!bu-cs!m2c!applix!jim From: jim@applix.UUCP (Jim Morton) Newsgroups: comp.bugs.4bsd,comp.unix.wizards Subject: Re: 4.3BSD stdio.h - sprintf() definition Message-ID: <550@applix.UUCP> Date: Thu, 16-Jul-87 19:07:58 EDT Article-I.D.: applix.550 Posted: Thu Jul 16 19:07:58 1987 Date-Received: Sat, 18-Jul-87 08:55:29 EDT References: <521@quacky.UUCP> Organization: APPLiX Inc., Westboro MA Lines: 24 Summary: more sprintf wierdness Xref: mnetor comp.bugs.4bsd:446 comp.unix.wizards:3273 In article <521@quacky.UUCP>, dce@mips.UUCP (David Elliott) writes: > The 4.3BSD stdio.h contains the following item, found near the > bottom of the file: > #ifdef vax > char *sprintf(); /* too painful to do right */ > #endif > What is this doing here? What is supposed to be in apposition to > "vax"? That's funny, in my Usenix 4.3 BSD manuals, which say "VAX Version" on the title page, sprintf() is shown as an int routine. And in System V.3 stdio.h, it's declared as an int. (Always was int in Sys V, but now stdio.h enforces it). -- -- Jim Morton, APPLiX Inc., Westboro, MA UUCP: ...seismo!husc6!necntc!m2c!applix!jim ...seismo!harvard!m2o 3ans 10 - s