File:  [CSRG BSD Unix] / 42BSD / ingres / source / gutil / pad.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:53 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD42
BSD 4.2

# include	<sccs.h>

SCCSID(@(#)pad.c	7.1	2/5/81)

/*
**  PAD STRING OUT WITH BLANKS
**
**	This routine is an in-place pmove which always pads
**	with blanks.
*/

pad(s, n)
char	*s;
int	n;
{
	register char	*ss;

	ss = s;
	pmove(ss, ss, n, ' ');
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.