* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
static char sccsid
[] = "@(#)ovprintf.c 1.2 (Berkeley) %G%";
* This version of printf calls doprnt, and as such is not portable,
* since doprnt is written in pdp-11 assembly language. (There is a
* vax doprnt which has the first 2 arguments reversed. We don't use it.)
* This version is used because it is about 900 bytes smaller than the
* portable version, which is also included in case it is needed.
_strout(string
, count
, adjust
, file
, fillch
)
register struct _iobuf
*file
;
if (*string
=='-' && fillch
=='0') {