/* @(#)strout.c 2.1 SCCS id keyword */
#include <stdio.h>
_strout(string, count, adjust, file, fillch)
register char *string;
register count;
int adjust;
register struct _iobuf *file;
{
while (adjust < 0) {
if (*string=='-' && fillch=='0') {
putc(*string++, file);
count--;
}
putc(fillch, file);
adjust++;
}
while (--count>=0)
putc(*string++, file);
while (adjust) {
putc(fillch, file);
adjust--;
}
}