Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!topaz.rutgers.edu!ron From: ron@topaz.rutgers.edu (Ron Natalie) Newsgroups: comp.unix.wizards,comp.os.minix Subject: Re: obscure questions on sprintf(3S) Message-ID: <14577@topaz.rutgers.edu> Date: Wed, 9-Sep-87 13:42:09 EDT Article-I.D.: topaz.14577 Posted: Wed Sep 9 13:42:09 1987 Date-Received: Fri, 11-Sep-87 03:48:47 EDT References: <1484@cybvax0.UUCP> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 5 Keywords: printf Xref: mnetor comp.unix.wizards:4167 comp.os.minix:1596 Checking for a null to find the end of the buffer is not likely to work at all. The first argument to sprintf is not required to have anything in it at all (and in many cases is all zeros). -Ron